comparison src/protocols/yahoo/yay.c @ 2145:91223be78b70

[gaim-migrate @ 2155] thanks to Valdis Kletnieks for pointing this out. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 15 Aug 2001 19:23:03 +0000
parents 56c4382f2909
children 0befa2d2e540
comparison
equal deleted inserted replaced
2144:a9940cdb86ee 2145:91223be78b70
265 265
266 set_login_progress(gc, 2, "Connected to Auth"); 266 set_login_progress(gc, 2, "Connected to Auth");
267 if (yahoo_send_login(sess, gc->username, gc->password) < 1) { 267 if (yahoo_send_login(sess, gc->username, gc->password) < 1) {
268 hide_login_progress(gc, "Authorizer error"); 268 hide_login_progress(gc, "Authorizer error");
269 signoff(gc); 269 signoff(gc);
270 return 0;
270 } 271 }
271 272
272 return 1; 273 return 1;
273 } 274 }
274 275
299 300
300 set_login_progress(gc, 4, "Connected to service"); 301 set_login_progress(gc, 4, "Connected to service");
301 if (yahoo_finish_logon(sess, YAHOO_STATUS_AVAILABLE) < 1) { 302 if (yahoo_finish_logon(sess, YAHOO_STATUS_AVAILABLE) < 1) {
302 hide_login_progress(gc, "Login error"); 303 hide_login_progress(gc, "Login error");
303 signoff(gc); 304 signoff(gc);
305 return 0;
304 } 306 }
305 307
306 if (bud_list_cache_exists(gc)) 308 if (bud_list_cache_exists(gc))
307 do_import(NULL, gc); 309 do_import(NULL, gc);
308 310