pidgin: 80376070: ft: fwrite failing is a local error. Poi...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Thu Jul 23 00:10:37 EDT 2009


-----------------------------------------------------------------
Revision: 8037607022d4fd0413dadc492036710c4df921fa
Ancestor: b9d254dedf63fb08ae0ca3cd967f367c2c0945d1
Author: darkrain42 at pidgin.im
Date: 2009-07-23T04:05:31
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8037607022d4fd0413dadc492036710c4df921fa

Modified files:
        libpurple/ft.c

ChangeLog: 

ft: fwrite failing is a local error. Pointed out by kenshin.

-------------- next part --------------
============================================================
--- libpurple/ft.c	47b955cbd744632a038af0a6025d74c49ee57c1b
+++ libpurple/ft.c	0dfe9b4234cfce2f99209fcb87b839fede2a1953
@@ -949,7 +949,7 @@ transfer_cb(gpointer data, gint source, 
 			const size_t wc = fwrite(buffer, 1, r, xfer->dest_fp);
 			if (wc != r) {
 				purple_debug_error("filetransfer", "Unable to write whole buffer.\n");
-				purple_xfer_cancel_remote(xfer);
+				purple_xfer_cancel_local(xfer);
 				return;
 			}
 		} else if(r < 0) {


More information about the Commits mailing list