comparison src/protocols/oscar/locate.c @ 10563:3e2cd3fe8897

[gaim-migrate @ 11944] Fix a problem Justin Wood noticed and supplied sf patch 920581 to fix My fix is slightly difference. The problem was that, if an iChat user had an available message up, then they changed their buddy icon, Gaim would stop showing the available message for the person. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 01 Feb 2005 05:19:27 +0000
parents 08c8a18fb557
children ecc0f22db510
comparison
equal deleted inserted replaced
10562:e06da39b467c 10563:3e2cd3fe8897
753 } else 753 } else
754 aim_bstream_advance(bs, length2); 754 aim_bstream_advance(bs, length2);
755 } break; 755 } break;
756 756
757 case 0x0002: { /* An available message */ 757 case 0x0002: { /* An available message */
758 if (length2 > 4) { 758 if (length2 >= 4) {
759 free(outinfo->avail); 759 free(outinfo->avail);
760 outinfo->avail_len = aimbs_get16(bs); 760 outinfo->avail_len = aimbs_get16(bs);
761 outinfo->avail = aimbs_getstr(bs, outinfo->avail_len); 761 outinfo->avail = aimbs_getstr(bs, outinfo->avail_len);
762 if (aimbs_get16(bs) == 0x0001) { /* We have an encoding */ 762 if (aimbs_get16(bs) == 0x0001) { /* We have an encoding */
763 aimbs_get16(bs); 763 aimbs_get16(bs);