Mercurial > pidgin.yaz
changeset 3332:f56d084d4046
[gaim-migrate @ 3350]
Fix bug where buddies sometimes wouldn't show up. (Thanks, Mark Doliner)
committer: Tailor Script <tailor@pidgin.im>
author | Jim Seymour <jseymour> |
---|---|
date | Sat, 22 Jun 2002 11:57:57 +0000 |
parents | 8f69ff64f0bf |
children | b6da58fae8b7 |
files | src/protocols/oscar/ssi.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);