# HG changeset patch # User Jim Seymour # Date 1024747077 0 # Node ID f56d084d4046c468f2ba300f0516e18bab8a6540 # Parent 8f69ff64f0bfab99233d3f22f0717fbc6de880bc [gaim-migrate @ 3350] Fix bug where buddies sometimes wouldn't show up. (Thanks, Mark Doliner) committer: Tailor Script diff -r 8f69ff64f0bf -r f56d084d4046 src/protocols/oscar/ssi.c --- a/src/protocols/oscar/ssi.c Sat Jun 22 02:07:48 2002 +0000 +++ b/src/protocols/oscar/ssi.c Sat Jun 22 11:57:57 2002 +0000 @@ -125,11 +125,11 @@ if (parentgroup->gid == 0x0000) { for (cur=*list; cur; cur=cur->next) if ((cur->gid != 0x0000) && (cur->type == AIM_SSI_TYPE_GROUP)) - aimutil_put16(newdata+newlen*2, cur->gid); + newlen += aimutil_put16(newdata+newlen, cur->gid); } else { for (cur=*list; cur; cur=cur->next) if ((cur->gid == parentgroup->gid) && (cur->type == AIM_SSI_TYPE_BUDDY)) - aimutil_put16(newdata+newlen*2, cur->bid); + newlen += aimutil_put16(newdata+newlen, cur->bid); } aim_addtlvtochain_raw((aim_tlvlist_t **)&(parentgroup->data), 0x00c8, newlen, newdata);