Mercurial > pidgin
comparison plugins/autorecon.c @ 5227:6d1707dc8c3d
[gaim-migrate @ 5597]
debug_printf -> gaim_debug
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 26 Apr 2003 17:36:52 +0000 |
parents | fefad67de2c7 |
children | 1c55b1540e18 |
comparison
equal
deleted
inserted
replaced
5226:a2199ef77cbc | 5227:6d1707dc8c3d |
---|---|
1 #include "config.h" | 1 #include "config.h" |
2 | |
3 #if 0 | |
4 #ifndef GAIM_PLUGINS | |
5 #define GAIM_PLUGINS | |
6 #endif | |
7 #endif | |
8 | 2 |
9 #include "gaim.h" | 3 #include "gaim.h" |
10 #include "prpl.h" | 4 #include "prpl.h" |
11 | 5 |
12 #ifdef _WIN32 | 6 #ifdef _WIN32 |
24 | 18 |
25 static guint tim = 0; | 19 static guint tim = 0; |
26 | 20 |
27 static gboolean do_signon(gpointer data) { | 21 static gboolean do_signon(gpointer data) { |
28 struct gaim_account *account = data; | 22 struct gaim_account *account = data; |
29 debug_printf("do_signon called\n"); | 23 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "do_signon called\n"); |
30 | 24 |
31 if (g_slist_index(gaim_accounts, account) < 0) | 25 if (g_slist_index(gaim_accounts, account) < 0) |
32 return FALSE; | 26 return FALSE; |
33 debug_printf("calling serv_login\n"); | 27 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling serv_login\n"); |
34 serv_login(account); | 28 serv_login(account); |
35 debug_printf("done calling serv_login\n"); | 29 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling serv_login\n"); |
36 tim = 0; | 30 tim = 0; |
37 return FALSE; | 31 return FALSE; |
38 } | 32 } |
39 | 33 |
40 static void reconnect(struct gaim_connection *gc, void *m) { | 34 static void reconnect(struct gaim_connection *gc, void *m) { |