src/protocols/yahoo/yay.c

changeset 2145
6141a0917e12
parent 2123
4cfdde0aa3f1
child 2153
f38e418776a7
--- 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))

mercurial