comparison src/protocols/oscar/icq.c @ 4075:2221f6801577

[gaim-migrate @ 4290] Most of this is changing offline message parsing so it uses the channel 4 ICBM code, since it's basically the same. This fixes the receiving of offline URLs. I also added handling for those pager/web message thingies, and partial support for email messages. I would finish it, but I can't get stupid ICQ to email me any more. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 14 Dec 2002 22:48:38 +0000
parents 2532f1192da3
children 91c4bd698d39
comparison
equal deleted inserted replaced
4074:3ccbdf8e7f8d 4075:2221f6801577
170 cmd = aimbs_getle16(&qbs); 170 cmd = aimbs_getle16(&qbs);
171 reqid = aimbs_getle16(&qbs); 171 reqid = aimbs_getle16(&qbs);
172 172
173 faimdprintf(sess, 1, "icq response: %d bytes, %ld, 0x%04x, 0x%04x\n", cmdlen, ouruin, cmd, reqid); 173 faimdprintf(sess, 1, "icq response: %d bytes, %ld, 0x%04x, 0x%04x\n", cmdlen, ouruin, cmd, reqid);
174 174
175 if (cmd == 0x0041) { 175 if (cmd == 0x0041) { /* offline message */
176 fu16_t msglen; 176 fu16_t msglen;
177 struct aim_icq_offlinemsg msg; 177 struct aim_icq_offlinemsg msg;
178 aim_rxcallback_t userfunc; 178 aim_rxcallback_t userfunc;
179 179
180 memset(&msg, 0, sizeof(msg)); 180 memset(&msg, 0, sizeof(msg));