diff src/protocols/oscar/oft.c @ 14027:931320242432

[gaim-migrate @ 16628] This line doesn't seem to be needed, and having it there causes duplicate "Transfer of file whatever.crp complete" messages committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 03 Aug 2006 09:31:14 +0000
parents 6c34fbb75bbd
children
line wrap: on
line diff
--- a/src/protocols/oscar/oft.c	Thu Aug 03 09:17:05 2006 +0000
+++ b/src/protocols/oscar/oft.c	Thu Aug 03 09:31:14 2006 +0000
@@ -325,9 +325,6 @@
 static void
 peer_oft_recv_frame_done(PeerConnection *conn, OftFrame *frame)
 {
-	if (frame->nrecvd == frame->size)
-		gaim_xfer_set_completed(conn->xfer, TRUE);
-
 	gaim_input_remove(conn->watcher_incoming);
 	conn->watcher_incoming = 0;
 	conn->xfer->fd = conn->fd;