diff src/protocols/silc/ft.c @ 9788:1e9ecca6c97e

[gaim-migrate @ 10656] "ixes sending declines when we would decline a request to an MSN file xfer. Fixes accidentally having 2 xfers of the same file in the transfer dialog when sending through MSN and SILC. Fixes crash when cancelling MSN file transfers. Should fix crash when removing old MSN transfers from the xfer window in MSN. Fixes MSN crash when the remote side sends a decline after we've canceled locally." --Dave West committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 20 Aug 2004 03:44:46 +0000
parents d27156c9c876
children e62987ff5616
line wrap: on
line diff
--- a/src/protocols/silc/ft.c	Fri Aug 20 03:40:33 2004 +0000
+++ b/src/protocols/silc/ft.c	Fri Aug 20 03:44:46 2004 +0000
@@ -192,7 +192,6 @@
 		return;
 
 	/* Start the file transfer */
-	gaim_xfer_add(xfer->xfer);
 	status = silc_client_file_receive(xfer->sg->client, xfer->sg->conn,
 					  silcgaim_ftp_monitor, xfer,
 					  NULL, xfer->session_id,
@@ -315,7 +314,6 @@
 		local_ip = silc_net_localip();
 
 	/* Send the file */
-	gaim_xfer_add(xfer->xfer);
 	silc_client_file_send(xfer->sg->client, xfer->sg->conn,
 			      silcgaim_ftp_monitor, xfer,
 			      local_ip, 0, !local, xfer->client_entry,