diff src/protocols/oscar/ft.c @ 3012:08327a2f25aa

[gaim-migrate @ 3025] Lots of people have a problem with people who were added to their MSN reverse list while they were offline, not being prompted to add them to their allow list. Jason Willis fixed that. Also added a global buddy icon animation preference by Luke Schierer. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 06 Mar 2002 00:18:02 +0000
parents 7239a392486c
children 1143524a2eaf
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c	Tue Mar 05 23:20:51 2002 +0000
+++ b/src/protocols/oscar/ft.c	Wed Mar 06 00:18:02 2002 +0000
@@ -1115,7 +1115,7 @@
 				i = aim_recv(conn->fd, msg2, 1024);
 			else 
 				i = aim_recv(conn->fd, msg2, payloadlength - recvd);
-			if (i == 0) {
+			if (i <= 0) {
 				free(msg);
 				return -1;
 			}