changeset 29520:4558a09a08c7

Clean up a case in the Yahoo! prpl where the caller now handles this. Other instances of this should probably be hunted down and fixed. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author foufou33@gmail.com
date Mon, 12 Oct 2009 18:52:27 +0000
parents 18667ce1f55d
children 791281a6e21d
files libpurple/protocols/yahoo/yahoo_filexfer.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_filexfer.c	Mon Oct 12 18:48:19 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo_filexfer.c	Mon Oct 12 18:52:27 2009 +0000
@@ -509,9 +509,6 @@
 		return 0;
 	}
 
-	if ((purple_xfer_get_bytes_sent(xfer) + len) >= purple_xfer_get_size(xfer))
-		purple_xfer_set_completed(xfer, TRUE);
-
 	return len;
 }