# HG changeset patch # User foufou33@gmail.com # Date 1255373547 0 # Node ID 4558a09a08c730540388768c3939363cb47a2aa4 # Parent 18667ce1f55d69622bb5ee289fbae14b2334feeb 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 diff -r 18667ce1f55d -r 4558a09a08c7 libpurple/protocols/yahoo/yahoo_filexfer.c --- 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; }