comparison 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
comparison
equal deleted inserted replaced
1863:bf2434d36e54 1864:5cb89cf24f45
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 (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 }