Mercurial > pidgin
diff src/protocols/napster/napster.c @ 5605:4fa8ca4f4259
[gaim-migrate @ 6009]
i'm a search-and-replace machine!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 31 May 2003 15:40:32 +0000 |
parents | 92b2c7f461f9 |
children | 0bdfa28c678e |
line wrap: on
line diff
--- a/src/protocols/napster/napster.c Sat May 31 15:14:38 2003 +0000 +++ b/src/protocols/napster/napster.c Sat May 31 15:40:32 2003 +0000 @@ -47,9 +47,6 @@ #include "win32dep.h" #endif -/* for win32 compatability */ -G_MODULE_IMPORT GSList *connections; - #define USEROPT_NAPSERVER 3 #define NAP_SERVER "64.124.41.187" #define USEROPT_NAPPORT 4 @@ -475,7 +472,7 @@ struct nap_data *ndata = (struct nap_data *)gc->proto_data; gchar *buf; - if (!g_slist_find(connections, gc)) { + if (!g_list_find(gaim_connections_get_all(), gc)) { close(source); return; }