diff src/protocols/silc/ft.c @ 12149:4e46eeec4ace

[gaim-migrate @ 14450] Fix SILC. I broke this earlier with the file transfer changes. I swear I was compiling SILC and Sametime. I've fixed it now. Sorry about this. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 19 Nov 2005 02:01:48 +0000
parents cbebda5f019c
children fd606401a8d2
line wrap: on
line diff
--- a/src/protocols/silc/ft.c	Sat Nov 19 01:53:28 2005 +0000
+++ b/src/protocols/silc/ft.c	Sat Nov 19 02:01:48 2005 +0000
@@ -395,7 +395,7 @@
 	silc_free(clients);
 	silc_free(nickname);
 
-	return xfer;
+	return xfer->xfer;
 }
 
 void silcgaim_ftp_send_file(GaimConnection *gc, const char *name, const char *file)
@@ -406,7 +406,7 @@
 
 	/* Choose file to send */
 	if (file)
-		gaim_xfer_request_accepted(xfer->xfer, file);
+		gaim_xfer_request_accepted(xfer, file);
 	else
-		gaim_xfer_request(xfer->xfer);
+		gaim_xfer_request(xfer);
 }