comparison src/protocols/oscar/icq.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
comparison
equal deleted inserted replaced
4172:88ebcfcc3217 4173:b66f960bfe60
219 msg.year = aimbs_getle16(&qbs); 219 msg.year = aimbs_getle16(&qbs);
220 msg.month = aimbs_getle8(&qbs); 220 msg.month = aimbs_getle8(&qbs);
221 msg.day = aimbs_getle8(&qbs); 221 msg.day = aimbs_getle8(&qbs);
222 msg.hour = aimbs_getle8(&qbs); 222 msg.hour = aimbs_getle8(&qbs);
223 msg.minute = aimbs_getle8(&qbs); 223 msg.minute = aimbs_getle8(&qbs);
224 msg.type = aimbs_getle16(&qbs); 224 msg.type = aimbs_getle8(&qbs);
225 msg.flags = aimbs_getle8(&qbs);
225 msg.msglen = aimbs_getle16(&qbs); 226 msg.msglen = aimbs_getle16(&qbs);
226 msg.msg = aimbs_getstr(&qbs, msg.msglen); 227 msg.msg = aimbs_getstr(&qbs, msg.msglen);
227 228
228 if ((userfunc = aim_callhandler(sess, rx->conn, AIM_CB_FAM_ICQ, AIM_CB_ICQ_OFFLINEMSG))) 229 if ((userfunc = aim_callhandler(sess, rx->conn, AIM_CB_FAM_ICQ, AIM_CB_ICQ_OFFLINEMSG)))
229 ret = userfunc(sess, rx, &msg); 230 ret = userfunc(sess, rx, &msg);