Mercurial > pidgin.yaz
changeset 8996:702ef9105fa4
[gaim-migrate @ 9771]
i was looking at this file in relation to bug #946916, and the red bars
were annoying me.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 21 May 2004 12:02:27 +0000 |
parents | 9caf796e74aa |
children | 8bf2c6122bf1 |
files | src/protocols/gg/gg.c |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/gg/gg.c Fri May 21 11:55:08 2004 +0000 +++ b/src/protocols/gg/gg.c Fri May 21 12:02:27 2004 +0000 @@ -1,6 +1,6 @@ /* * gaim - Gadu-Gadu Protocol Plugin - * $Id: gg.c 9768 2004-05-21 00:32:52Z lschiere $ + * $Id: gg.c 9771 2004-05-21 12:02:27Z lschiere $ * * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> * @@ -291,7 +291,7 @@ show = charset_convert(data_tbl[3], "CP1250", "UTF-8"); name = data_tbl[6]; - + if (invalid_uin(name)) { continue; } @@ -319,19 +319,19 @@ b = gaim_buddy_new(gc->account, name, strlen(show) ? show : NULL); gaim_blist_add_buddy(b,NULL,g,NULL); gaim_blist_save(); - + userlist_size++; userlist = g_renew(uin_t, userlist, userlist_size); userlist[userlist_size - 1] = (uin_t) strtol((char *)name, (char **)NULL, 10); - + g_free(group); } g_free(show); g_strfreev(data_tbl); } g_strfreev(users_tbl); - + if (userlist) { gg_notify(gd->sess, userlist, userlist_size); g_free(userlist); @@ -369,17 +369,17 @@ newdata = g_strdup_printf("%s;%s;%s;%s;%s;%s;%s;%s%s\r\n", show, show, show, show, "", gname, name, "", ""); - + ptr = buddylist; buddylist = g_strconcat(ptr, newdata, NULL); - + g_free(newdata); g_free(ptr); } } } } - + /* save the list to the gadu gadu server */ gg_userlist_request(gd->sess, GG_USERLIST_PUT, buddylist); } @@ -553,7 +553,7 @@ switch (e->event.userlist.type) { case GG_USERLIST_GET_REPLY: { - + if (e->event.userlist.reply) { agg_load_buddy_list(gc, e->event.userlist.reply); }