changeset 7997:c5c8c88594ee

[gaim-migrate @ 8674] Bugfix by Stefan Esser. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 04 Jan 2004 22:26:10 +0000
parents 334ab1319406
children 5e193b3a2342
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	Sun Jan 04 22:11:17 2004 +0000
+++ b/src/protocols/oscar/ft.c	Sun Jan 04 22:26:10 2004 +0000
@@ -663,7 +663,7 @@
 			ret = userfunc(sess, &fr, snptr, 0);
 	}
 
-	if (payloadlength) {
+	if ((payloadlength != 0) && (payloadlength + 1 != 0)) {
 		char *msg;
 		int recvd = 0;
 		int i, isawaymsg;