diff plugins/autorecon.c @ 10574:77ef3f2f0df8

[gaim-migrate @ 11966] Leak fixes, round 3. Also, fix find in the log viewer to find in all logs, not just every-other-one-you-select. Plus some other minor tweaks. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 05 Feb 2005 17:59:20 +0000
parents 3e4ecbdf8d0a
children 55af3fa46329
line wrap: on
line diff
--- a/plugins/autorecon.c	Fri Feb 04 23:42:33 2005 +0000
+++ b/plugins/autorecon.c	Sat Feb 05 17:59:20 2005 +0000
@@ -187,7 +187,11 @@
 reconnected(GaimConnection *gc, void *m) {
 	GaimAccount *account;
 
-	g_return_if_fail(gc != NULL && accountReconnecting != NULL);
+	g_return_if_fail(gc != NULL);
+
+	if (accountReconnecting == NULL)
+		return;
+
 	account = gaim_connection_get_account(gc);
 
 	accountReconnecting = g_slist_remove(accountReconnecting, account);