Mercurial > pidgin
comparison src/protocols/yahoo/yahoo.c @ 5590:011a0a975060
[gaim-migrate @ 5994]
These G_MODULE_IMPORT connections things are getting on my nerves.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 31 May 2003 07:22:47 +0000 |
parents | e46efd264489 |
children | 0bdfa28c678e |
comparison
equal
deleted
inserted
replaced
5589:343dbdcc44e2 | 5590:011a0a975060 |
---|---|
50 #ifdef _WIN32 | 50 #ifdef _WIN32 |
51 #include "win32dep.h" | 51 #include "win32dep.h" |
52 #endif | 52 #endif |
53 | 53 |
54 extern char *yahoo_crypt(const char *, const char *); | 54 extern char *yahoo_crypt(const char *, const char *); |
55 | |
56 /* for win32 compatability */ | |
57 G_MODULE_IMPORT GSList *connections; | |
58 | 55 |
59 /* #define YAHOO_DEBUG */ | 56 /* #define YAHOO_DEBUG */ |
60 | 57 |
61 #define USEROPT_MAIL 0 | 58 #define USEROPT_MAIL 0 |
62 | 59 |
966 { | 963 { |
967 GaimConnection *gc = data; | 964 GaimConnection *gc = data; |
968 struct yahoo_data *yd; | 965 struct yahoo_data *yd; |
969 struct yahoo_packet *pkt; | 966 struct yahoo_packet *pkt; |
970 | 967 |
971 if (!g_slist_find(connections, gc)) { | 968 if (!g_list_find(gaim_connections_get_all(), gc)) { |
972 close(source); | 969 close(source); |
973 return; | 970 return; |
974 } | 971 } |
975 | 972 |
976 if (source < 0) { | 973 if (source < 0) { |