comparison plugins/autorecon.c @ 10401:3e4ecbdf8d0a

[gaim-migrate @ 11638] Stuff compiles again, if that's what you wanted stuff to do. It works a bit too. I fixed one crash in oscar, only to reveal another that I didnn't fix (tooltips). Most protocols still need updating to actually log in in the specified state, TCL needs some love for gaim_account_connect, perl probably does too but that needs more love anyway. The reconnect plugin could be more intelligent too, as could gaim-remote. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 21 Dec 2004 01:48:30 +0000
parents 2e01c503aa4f
children 77ef3f2f0df8
comparison
equal deleted inserted replaced
10400:6a043ae92db6 10401:3e4ecbdf8d0a
138 138
139 if(info) 139 if(info)
140 info->timeout = 0; 140 info->timeout = 0;
141 141
142 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n"); 142 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n");
143 gaim_account_connect(account); 143 /* XXX: make this remember the status from disconnect */
144 gaim_account_connect(account, gaim_account_get_status(account, "online"));
144 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling gaim_account_connect\n"); 145 gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling gaim_account_connect\n");
145 146
146 return FALSE; 147 return FALSE;
147 } 148 }
148 149