Mercurial > pidgin.yaz
comparison src/protocols/oscar/info.c @ 4809:71ef8462630e
[gaim-migrate @ 5129]
Resume ass-kicking.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 17 Mar 2003 05:21:09 +0000 |
parents | 3f44efdfb4cf |
children | 22a7602ebe25 |
comparison
equal
deleted
inserted
replaced
4808:506141e196dc | 4809:71ef8462630e |
---|---|
622 * | 622 * |
623 * Buddy icon information. This contains the info | 623 * Buddy icon information. This contains the info |
624 * about the buddy icon that the user has stored on | 624 * about the buddy icon that the user has stored on |
625 * the server. | 625 * the server. |
626 */ | 626 */ |
627 /* char *iconstr; | |
628 outinfo->iconstrlen = length-4; | 627 outinfo->iconstrlen = length-4; |
629 outinfo->iconstrlen -= aim_bstream_advance(bs, aimbs_get16(bs)); | 628 outinfo->iconstrlen -= aim_bstream_advance(bs, aimbs_get16(bs)); |
630 outinfo->iconstrlen -= aim_bstream_advance(bs, aimbs_get16(bs)); | 629 outinfo->iconstrlen -= aim_bstream_advance(bs, aimbs_get16(bs)); |
631 if (aim_bstream_empty(bs) >= outinfo->iconstrlen) { | 630 if (aim_bstream_empty(bs) >= outinfo->iconstrlen) { |
632 iconstr = aimbs_getraw(bs, outinfo->iconstrlen); | 631 char *iconstr = aimbs_getraw(bs, outinfo->iconstrlen); |
633 memcpy(outinfo->iconstr, iconstr, outinfo->iconstrlen); | 632 memcpy(outinfo->iconstr, iconstr, outinfo->iconstrlen); |
634 } else | 633 free(iconstr); |
634 } else { | |
635 outinfo->iconstrlen = 0; | 635 outinfo->iconstrlen = 0; |
636 free(iconstr); */ | 636 outinfo->iconstr[0] = '\0'; |
637 outinfo->iconstrlen = 0; | 637 } |
638 | 638 |
639 } else if (type == 0x001e) { | 639 } else if (type == 0x001e) { |
640 /* | 640 /* |
641 * Type 30: Unknown. | 641 * Type 30: Unknown. |
642 * | 642 * |