diff src/toc.c @ 1864:5cb89cf24f45

[gaim-migrate @ 1874] hi there committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 20 May 2001 02:10:34 +0000
parents 9845deede1e9
children 466fc4ada7cb
line wrap: on
line diff
--- a/src/toc.c	Sun May 20 00:01:55 2001 +0000
+++ b/src/toc.c	Sun May 20 02:10:34 2001 +0000
@@ -156,7 +156,7 @@
 			  user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS],
 			  toc_login_callback, gc);
 
-	if (tdt->toc_fd < 0) {
+	if (user->gc && (tdt->toc_fd < 0)) {
 		g_snprintf(buf, sizeof(buf), "Connect to %s failed", user->proto_opt[USEROPT_AUTH]);
 		hide_login_progress(gc, buf);
 		signoff(gc);