diff src/ft.c @ 8262:b5dbd1839716

[gaim-migrate @ 8985] this is jabber new-style file transfer receive support. this doesn't do much error checking or handling, but I managed to send pictures to myself from Exodus on my laptop in the living room, which would have taken twice as long were it not for VNC. i said i was going to bed 1, 2, and 3 hours ago. i should go to bed. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 15 Feb 2004 10:11:38 +0000
parents f50c059b6384
children cf84056fed27
line wrap: on
line diff
--- a/src/ft.c	Sun Feb 15 08:51:32 2004 +0000
+++ b/src/ft.c	Sun Feb 15 10:11:38 2004 +0000
@@ -500,12 +500,8 @@
 
 	if (condition & GAIM_INPUT_READ) {
 		r = gaim_xfer_read(xfer, &buffer);
-		if (r > 0) {
+		if (r > 0)
 			fwrite(buffer, 1, r, xfer->dest_fp);
-		} else {
-			gaim_xfer_cancel_remote(xfer);
-			return;
-		}
 	}
 	else {
 		size_t s = MIN(gaim_xfer_get_bytes_remaining(xfer), 4096);