diff plugins/autorecon.c @ 7112:cc1d09631513

[gaim-migrate @ 7679] "ChipX86 recently fixed up the MSN user info code so that if no actual information is found, it will display an error message instead of simply giving a blank screen. Here is a patch for Yahoo which does the same thing." --Nathan Poznick committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 01 Oct 2003 22:14:54 +0000
parents 70d5122bc3ff
children 4ce6952d7908
line wrap: on
line diff
--- a/plugins/autorecon.c	Wed Oct 01 21:23:25 2003 +0000
+++ b/plugins/autorecon.c	Wed Oct 01 22:14:54 2003 +0000
@@ -32,7 +32,8 @@
 	gaim_account_connect(account);
 	gaim_debug(GAIM_DEBUG_INFO, "autorecon", "done calling gaim_account_connect\n");
 
-	info->timeout = 0;
+	if(info)
+		info->timeout = 0;
 
 	return FALSE;
 }