Mercurial > pidgin
comparison src/protocols/oscar/info.c @ 4804:9810ce8e7a96
[gaim-migrate @ 5124]
Here ya go, Rob.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 17 Mar 2003 04:02:30 +0000 |
parents | 4938d12f6d48 |
children | 3f44efdfb4cf |
comparison
equal
deleted
inserted
replaced
4803:6f04901ef729 | 4804:9810ce8e7a96 |
---|---|
616 outinfo->sessionlen = aimbs_get32(bs); | 616 outinfo->sessionlen = aimbs_get32(bs); |
617 outinfo->present |= AIM_USERINFO_PRESENT_SESSIONLEN; | 617 outinfo->present |= AIM_USERINFO_PRESENT_SESSIONLEN; |
618 | 618 |
619 } else if (type == 0x001d) { | 619 } else if (type == 0x001d) { |
620 /* | 620 /* |
621 * Type 29: Unknown. | 621 * Type = 0x001d |
622 * | 622 * |
623 * Currently very rare. Always 18 bytes of mostly zero. | 623 * Buddy icon information. This contains the info |
624 */ | 624 * about the buddy icon that the user has stored on |
625 * the server. | |
626 */ | |
627 char *iconstr; | |
628 outinfo->iconstrlen = length-4; | |
629 outinfo->iconstrlen -= aim_bstream_advance(bs, aimbs_get16(bs)); | |
630 outinfo->iconstrlen -= aim_bstream_advance(bs, aimbs_get16(bs)); | |
631 if (aim_bstream_empty(bs) >= outinfo->iconstrlen) { | |
632 iconstr = aimbs_getraw(bs, outinfo->iconstrlen); | |
633 memcpy(outinfo->iconstr, iconstr, outinfo->iconstrlen); | |
634 } else | |
635 outinfo->iconstrlen = 0; | |
636 free(iconstr); | |
625 | 637 |
626 } else if (type == 0x001e) { | 638 } else if (type == 0x001e) { |
627 /* | 639 /* |
628 * Type 30: Unknown. | 640 * Type 30: Unknown. |
629 * | 641 * |