Mercurial > pidgin.yaz
diff src/protocols/oscar/im.c @ 2751:b715593f0d21
[gaim-migrate @ 2764]
hi.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 19 Nov 2001 02:53:46 +0000 |
parents | 03bf072c6238 |
children | e79f30457998 |
line wrap: on
line diff
--- a/src/protocols/oscar/im.c Mon Nov 19 01:01:08 2001 +0000 +++ b/src/protocols/oscar/im.c Mon Nov 19 02:53:46 2001 +0000 @@ -226,7 +226,7 @@ aimbs_putraw(&fr->data, args->destsn, strlen(args->destsn)); /* - * metaTLV start. + * Message TLV (type 2). */ aimbs_put16(&fr->data, 0x0002); aimbs_put16(&fr->data, msgtlvlen); @@ -334,9 +334,8 @@ aim_tx_enqueue(sess, fr); -#if 1 /* XXX do this with autoconf or something... */ - aim_cleansnacs(sess, 60); /* clean out all SNACs over 60sec old */ -#endif + if (!(sess->flags & AIM_SESS_FLAGS_DONTTIMEOUTONICBM)) + aim_cleansnacs(sess, 60); /* clean out SNACs over 60sec old */ return 0; }