Mercurial > pidgin
diff src/protocols/oscar/im.c @ 10693:f7431a6ff0cb
[gaim-migrate @ 12245]
Print the screen name in an oscar debug message, and use the non-sucky
authentication scheme for ICQ (MD5 instead of XOR).
...as she looked up into my eyes, her vision borrowed mine...
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Mar 2005 03:27:01 +0000 |
parents | de34037a02c7 |
children | ecc0f22db510 |
line wrap: on
line diff
--- a/src/protocols/oscar/im.c Mon Mar 14 01:55:50 2005 +0000 +++ b/src/protocols/oscar/im.c Mon Mar 14 03:27:01 2005 +0000 @@ -1308,7 +1308,7 @@ * suspicious. * */ -static int incomingim_ch1_parsemsgs(aim_session_t *sess, fu8_t *data, int len, struct aim_incomingim_ch1_args *args) +static int incomingim_ch1_parsemsgs(aim_session_t *sess, aim_userinfo_t *userinfo, fu8_t *data, int len, struct aim_incomingim_ch1_args *args) { /* Should this be ASCII -> UNICODE -> Custom */ static const fu16_t charsetpri[] = { @@ -1334,7 +1334,7 @@ msglen = aimbs_get16(&mbs); if (msglen > aim_bstream_empty(&mbs)) { - faimdprintf(sess, 0, "Received an IM containing an invalid message part from %s. They are probably trying to do something malicious."); + faimdprintf(sess, 0, "Received an IM containing an invalid message part from %s. They are probably trying to do something malicious.", userinfo->sn); break; } @@ -1474,7 +1474,7 @@ * The rest of the TLV contains one or more message * blocks... */ - incomingim_ch1_parsemsgs(sess, bs->data + bs->offset /* XXX evil!!! */, length - 2 - 2 - args.featureslen, &args); + incomingim_ch1_parsemsgs(sess, userinfo, bs->data + bs->offset /* XXX evil!!! */, length - 2 - 2 - args.featureslen, &args); } else if (type == 0x0003) { /* Server Ack Requested */