comparison plugins/yay/yay.c @ 1096:c1dcba9f3a3a

[gaim-migrate @ 1106] forgot this committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 14 Nov 2000 11:34:30 +0000
parents 79cdc86ef4c6
children c8615d023aaf
comparison
equal deleted inserted replaced
1095:ca8206682e3f 1096:c1dcba9f3a3a
214 return; 214 return;
215 215
216 if (!ctxt || !yahoo_connect(ctxt)) { 216 if (!ctxt || !yahoo_connect(ctxt)) {
217 debug_printf("Yahoo: Unable to connect\n"); 217 debug_printf("Yahoo: Unable to connect\n");
218 hide_login_progress(gc, "Unable to connect"); 218 hide_login_progress(gc, "Unable to connect");
219 destroy_gaim_conn(gc); 219 signoff(gc);
220 return; 220 return;
221 } 221 }
222 222
223 debug_printf("Yahoo: connected\n"); 223 debug_printf("Yahoo: connected\n");
224 224
231 yahoo_get_config(ctxt); 231 yahoo_get_config(ctxt);
232 232
233 if (yahoo_cmd_logon(ctxt, YAHOO_STATUS_AVAILABLE)) { 233 if (yahoo_cmd_logon(ctxt, YAHOO_STATUS_AVAILABLE)) {
234 debug_printf("Yahoo: Unable to login\n"); 234 debug_printf("Yahoo: Unable to login\n");
235 hide_login_progress(gc, "Unable to login"); 235 hide_login_progress(gc, "Unable to login");
236 destroy_gaim_conn(gc); 236 signoff(gc);
237 return; 237 return;
238 } 238 }
239 239
240 if (ctxt->buddies) { 240 if (ctxt->buddies) {
241 struct yahoo_buddy **buddies; 241 struct yahoo_buddy **buddies;