diff 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
line wrap: on
line diff
--- a/src/protocols/yahoo/yay.c	Wed Aug 15 18:09:48 2001 +0000
+++ b/src/protocols/yahoo/yay.c	Wed Aug 15 19:23:03 2001 +0000
@@ -267,6 +267,7 @@
 	if (yahoo_send_login(sess, gc->username, gc->password) < 1) {
 		hide_login_progress(gc, "Authorizer error");
 		signoff(gc);
+		return 0;
 	}
 
 	return 1;
@@ -301,6 +302,7 @@
 	if (yahoo_finish_logon(sess, YAHOO_STATUS_AVAILABLE) < 1) {
 		hide_login_progress(gc, "Login error");
 		signoff(gc);
+		return 0;
 	}
 
 	if (bud_list_cache_exists(gc))