diff src/protocols/msn/ft.c @ 5914:1344aeab6baa

[gaim-migrate @ 6346] I think this is better committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 17 Jun 2003 20:14:05 +0000
parents b3c412884a22
children b7e113a59b51
line wrap: on
line diff
--- a/src/protocols/msn/ft.c	Tue Jun 17 18:56:53 2003 +0000
+++ b/src/protocols/msn/ft.c	Tue Jun 17 20:14:05 2003 +0000
@@ -24,7 +24,6 @@
 
 #ifdef _WIN32
 #include "win32dep.h"
-__declspec(dllimport) GList *connections;
 #endif
 
 static struct gaim_xfer *
@@ -375,7 +374,7 @@
 	account   = gaim_xfer_get_account(xfer);
 	xfer_data = (struct msn_xfer_data *)xfer->data;
 
-	if (source == -1 || !g_slist_find(connections, account->gc)) {
+	if (source == -1 || !g_slist_find(gaim_connections_get_all(), account->gc)) {
 		gaim_debug(GAIM_DEBUG_ERROR, "msn",
 				   "MSNFTP: Error establishing connection\n");
 		close(source);