changeset 4002:9891c1458eb7

[gaim-migrate @ 4202] "Sorry, but in my last direct IM patch (633589), I broke receiving typing notifications. Here is the one line patch that fixes it back the way it should be. Basically, the if(flags == 0x000c) should have been if(flags & 0x000c) At the moment, receiving typing notifications is broken in gaim since this is in a block under if(flags & 0x0002) so, the == 0x000c will never be true. " -- Graham Booker (gbooker) committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 26 Nov 2002 14:23:06 +0000
parents 9178da61c19f
children b5947f2716a0
files src/protocols/oscar/ft.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c	Tue Nov 26 14:13:11 2002 +0000
+++ b/src/protocols/oscar/ft.c	Tue Nov 26 14:23:06 2002 +0000
@@ -1174,7 +1174,7 @@
 	if (flags & 0x0002) {
 		int ret = 0;
 
-		if (flags == 0x000c) {
+		if (flags & 0x000c) {
 			if ((userfunc = aim_callhandler(sess, conn, AIM_CB_FAM_OFT, AIM_CB_OFT_DIRECTIMTYPING)))
 				ret = userfunc(sess, &fr, snptr, 1);
 			return ret;