Mercurial > pidgin
comparison libpurple/protocols/gg/buddylist.c @ 32819:2c6510167895 default tip
propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24)
to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 02 Jun 2012 02:30:49 +0000 |
parents | aee8dcd35262 |
children |
comparison
equal
deleted
inserted
replaced
32818:01ff09d4a463 | 32819:2c6510167895 |
---|---|
36 #define F_UIN 6 | 36 #define F_UIN 6 |
37 | 37 |
38 /* void ggp_buddylist_send(PurpleConnection *gc) {{{ */ | 38 /* void ggp_buddylist_send(PurpleConnection *gc) {{{ */ |
39 void ggp_buddylist_send(PurpleConnection *gc) | 39 void ggp_buddylist_send(PurpleConnection *gc) |
40 { | 40 { |
41 GGPInfo *info = gc->proto_data; | 41 GGPInfo *info = purple_connection_get_protocol_data(gc); |
42 PurpleAccount *account = purple_connection_get_account(gc); | 42 PurpleAccount *account = purple_connection_get_account(gc); |
43 GSList *buddies; | 43 GSList *buddies; |
44 uin_t *userlist; | 44 uin_t *userlist; |
45 gchar *types; | 45 gchar *types; |
46 int i = 0, ret = 0; | 46 int i = 0, ret = 0; |
88 | 88 |
89 for (i = 0; users_tbl[i] != NULL; i++) { | 89 for (i = 0; users_tbl[i] != NULL; i++) { |
90 gchar **data_tbl; | 90 gchar **data_tbl; |
91 gchar *name, *show, *g; | 91 gchar *name, *show, *g; |
92 | 92 |
93 if (strlen(users_tbl[i]) == 0) | 93 if (!*users_tbl[i]) |
94 continue; | 94 continue; |
95 | 95 |
96 data_tbl = g_strsplit(users_tbl[i], ";", 8); | 96 data_tbl = g_strsplit(users_tbl[i], ";", 8); |
97 if (ggp_array_size(data_tbl) < 8) { | 97 if (ggp_array_size(data_tbl) < 8) { |
98 purple_debug_warning("gg", | 98 purple_debug_warning("gg", |