# HG changeset patch # User Luke Schierer # Date 1085140947 0 # Node ID 702ef9105fa461ff6758ecae7ba37894be319e62 # Parent 9caf796e74aace2acd4ff3f7cae84af5d1deea57 [gaim-migrate @ 9771] i was looking at this file in relation to bug #946916, and the red bars were annoying me. committer: Tailor Script diff -r 9caf796e74aa -r 702ef9105fa4 src/protocols/gg/gg.c --- 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 * @@ -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); }