comparison plugins/autorecon.c @ 4494:b5a50a6a13b0

[gaim-migrate @ 4769] win32 fix committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Fri, 31 Jan 2003 20:19:08 +0000
parents 3196d9044a45
children 2427d847e39c
comparison
equal deleted inserted replaced
4493:61ba567f9c64 4494:b5a50a6a13b0
9 9
10 #ifdef _WIN32 10 #ifdef _WIN32
11 #include "win32dep.h" 11 #include "win32dep.h"
12 #endif 12 #endif
13 13
14 G_MODULE_IMPORT GSList *gaim_accounts;
15
14 #define INITIAL 8000 16 #define INITIAL 8000
15 #define MAXTIME 1024000 17 #define MAXTIME 1024000
16 18
17 static GHashTable *hash = NULL; 19 static GHashTable *hash = NULL;
18 20
19 static guint tim = 0; 21 static guint tim = 0;
20 22
21 static gboolean do_signon(gpointer data) { 23 static gboolean do_signon(gpointer data) {
22 struct gaim_account *account = data; 24 struct gaim_account *account = data;
25 debug_printf("do_signon called\n");
26
23 if (g_slist_index(gaim_accounts, account) < 0) 27 if (g_slist_index(gaim_accounts, account) < 0)
24 return FALSE; 28 return FALSE;
29 debug_printf("calling serv_login\n");
25 serv_login(account); 30 serv_login(account);
31 debug_printf("done calling serv_login\n");
26 tim = 0; 32 tim = 0;
27 return FALSE; 33 return FALSE;
28 } 34 }
29 35
30 static void reconnect(struct gaim_connection *gc, void *m) { 36 static void reconnect(struct gaim_connection *gc, void *m) {