comparison libpurple/protocols/qq/group.c @ 24601:fecedf6d9ee1

propagate from branch 'im.pidgin.pidgin' (head 97d295a04f3a9852a3b29cf0df43d56d1ddcc672) to branch 'im.pidgin.pidgin.openq' (head a0d99396d1603b53838d74cad4391ece34f3ebbf)
author SHiNE CsyFeK <csyfek@gmail.com>
date Fri, 05 Dec 2008 14:51:36 +0000
parents 45772d1c579a
children 8f757b2139d2
comparison
equal deleted inserted replaced
24536:c457c635eb8f 24601:fecedf6d9ee1
38 static void _qq_group_search_callback(PurpleConnection *gc, const gchar *input) 38 static void _qq_group_search_callback(PurpleConnection *gc, const gchar *input)
39 { 39 {
40 guint32 ext_id; 40 guint32 ext_id;
41 41
42 g_return_if_fail(input != NULL); 42 g_return_if_fail(input != NULL);
43 ext_id = strtol(input, NULL, 10); 43 ext_id = strtoul(input, NULL, 10);
44 /* 0x00000000 means search for demo group */ 44 /* 0x00000000 means search for demo group */
45 qq_request_room_search(gc, ext_id, QQ_ROOM_SEARCH_ONLY); 45 qq_request_room_search(gc, ext_id, QQ_ROOM_SEARCH_ONLY);
46 } 46 }
47 47
48 static void _qq_group_search_cancel_callback(PurpleConnection *gc, const gchar *input) 48 static void _qq_group_search_cancel_callback(PurpleConnection *gc, const gchar *input)