diff src/toc.c @ 1866:466fc4ada7cb

[gaim-migrate @ 1876] more proxy fixes. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 20 May 2001 10:35:47 +0000
parents 5cb89cf24f45
children a02584b98823
line wrap: on
line diff
--- a/src/toc.c	Sun May 20 09:09:02 2001 +0000
+++ b/src/toc.c	Sun May 20 10:35:47 2001 +0000
@@ -156,7 +156,7 @@
 			  user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS],
 			  toc_login_callback, gc);
 
-	if (user->gc && (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);