src/protocols/oscar/locate.c

changeset 11024
f4e005b0922b
parent 10998
eb60e253647d
child 11159
76ef02141bcb
--- a/src/protocols/oscar/locate.c	Wed Jun 22 23:23:14 2005 +0000
+++ b/src/protocols/oscar/locate.c	Thu Jun 23 02:24:22 2005 +0000
@@ -746,8 +746,9 @@
 					} break;
 
 					case 0x0001: { /* A buddy icon checksum */
-						if ((length2 > 0) && (number == 0x01)) {
+						if ((length2 > 0) && ((number == 0x00) || (number == 0x01))) {
 							free(outinfo->iconcsum);
+							outinfo->iconcsumtype = number;
 							outinfo->iconcsum = aimbs_getraw(bs, length2);
 							outinfo->iconcsumlen = length2;
 						} else

mercurial