diff plugins/autorecon.c @ 5587:1c55b1540e18

[gaim-migrate @ 5991] The rest of the plugins compile. Well, the default ones. notify.c is no longer compiled by default. I don't know for sure what we're doing with this, but I didn't want to fix it :) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 31 May 2003 06:59:58 +0000
parents 6d1707dc8c3d
children eeba9205dd0f
line wrap: on
line diff
--- a/plugins/autorecon.c	Sat May 31 06:50:47 2003 +0000
+++ b/plugins/autorecon.c	Sat May 31 06:59:58 2003 +0000
@@ -19,19 +19,19 @@
 static guint tim = 0;
 
 static gboolean do_signon(gpointer data) {
-	struct gaim_account *account = data;
+	GaimAccount *account = data;
 	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "do_signon called\n");
 
 	if (g_slist_index(gaim_accounts, account) < 0)
 		return FALSE;
-	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling serv_login\n");
-	serv_login(account);
-	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling serv_login\n");
+	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "calling gaim_account_connect\n");
+	gaim_account_connect(account);
+	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling gaim_account_connect\n");
 	tim = 0;
 	return FALSE;
 }
 
-static void reconnect(struct gaim_connection *gc, void *m) {
+static void reconnect(GaimConnection *gc, void *m) {
 	if (!gc->wants_to_die) {
 		int del;
 		del = (int)g_hash_table_lookup(hash, gc->account);