Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 9381:f1fd56e83567
[gaim-migrate @ 10189]
Felipe Contreras fixed some bugs with our changes to the add_buddies
prpl thingy.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 24 Jun 2004 22:22:22 +0000 |
parents | 01c50436203e |
children | 379f59c5b1ff |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Thu Jun 24 22:09:22 2004 +0000 +++ b/src/protocols/oscar/oscar.c Thu Jun 24 22:22:22 2004 +0000 @@ -5547,11 +5547,12 @@ int n=0; while (buddies) { + GaimBuddy *buddy = buddies->data; if (n > MSG_LEN - 18) { aim_buddylist_set(od->sess, od->conn, buf); n = 0; } - n += g_snprintf(buf + n, sizeof(buf) - n, "%s&", (const char *)buddies->data); + n += g_snprintf(buf + n, sizeof(buf) - n, "%s&", buddy->name); buddies = buddies->next; } aim_buddylist_set(od->sess, od->conn, buf);