comparison 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
comparison
equal deleted inserted replaced
1865:8d758ff5957e 1866:466fc4ada7cb
154 atoi(user->proto_opt[USEROPT_PROXYPORT]), 154 atoi(user->proto_opt[USEROPT_PROXYPORT]),
155 atoi(user->proto_opt[USEROPT_PROXYTYPE]), 155 atoi(user->proto_opt[USEROPT_PROXYTYPE]),
156 user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS], 156 user->proto_opt[USEROPT_USER], user->proto_opt[USEROPT_PASS],
157 toc_login_callback, gc); 157 toc_login_callback, gc);
158 158
159 if (user->gc && (tdt->toc_fd < 0)) { 159 if (!user->gc || (tdt->toc_fd < 0)) {
160 g_snprintf(buf, sizeof(buf), "Connect to %s failed", user->proto_opt[USEROPT_AUTH]); 160 g_snprintf(buf, sizeof(buf), "Connect to %s failed", user->proto_opt[USEROPT_AUTH]);
161 hide_login_progress(gc, buf); 161 hide_login_progress(gc, buf);
162 signoff(gc); 162 signoff(gc);
163 return; 163 return;
164 } 164 }