diff src/protocols/oscar/im.c @ 4173:b66f960bfe60

[gaim-migrate @ 4403] So type is actually 1 byte, and not 2. Something about an ass out of u and me. This should make multi-recipient ICQ messages work. It also fixes a little mistake that caused ICQ URLs, auth requests, pager messages, emails, and ICQ cotact sending thingies to not show up. I don't think that bug existed for more than a more days. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 02 Jan 2003 22:22:38 +0000
parents 3468d666d3cc
children 858979ab3867
line wrap: on
line diff
--- a/src/protocols/oscar/im.c	Thu Jan 02 20:18:25 2003 +0000
+++ b/src/protocols/oscar/im.c	Thu Jan 02 22:22:38 2003 +0000
@@ -1860,7 +1860,8 @@
 	aim_bstream_init(&meat, block->value, block->length);
 
 	args.uin = aimbs_getle32(&meat);
-	args.type = aimbs_getle16(&meat);
+	args.type = aimbs_getle8(&meat);
+	args.flags = aimbs_getle8(&meat);
 	args.msglen = aimbs_getle16(&meat);
 	args.msg = aimbs_getraw(&meat, args.msglen);