changeset 9280:2104c1039626

[gaim-migrate @ 10083] set the gc->wants_to_die flag on any auth error. I could have sworn we were doing this already. Also improves one of the error strings slightly. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Mon, 14 Jun 2004 06:09:26 +0000
parents 1eaa4d8dcf26
children adde46ad65e9
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Mon Jun 14 05:47:41 2004 +0000
+++ b/src/protocols/yahoo/yahoo.c	Mon Jun 14 06:09:26 2004 +0000
@@ -1722,10 +1722,10 @@
 		msg = g_strdup(_("Incorrect password."));
 		break;
 	case 14:
-		msg = g_strdup(_("Your account is locked, please log in to the yahoo website."));
+		msg = g_strdup(_("Your account is locked, please log in to the Yahoo! website."));
 		break;
 	default:
-		msg = g_strdup_printf(_("Unknown error number %d."), err);
+		msg = g_strdup_printf(_("Unknown error number %d. Logging into the Yahoo! website may fix this."), err);
 	}
 
 	if (url)
@@ -1733,6 +1733,7 @@
 	else
 		fullmsg = g_strdup(msg);
 
+	gc->wants_to_die = TRUE;
 	gaim_connection_error(gc, fullmsg);
 	g_free(msg);
 	g_free(fullmsg);
@@ -2665,10 +2666,10 @@
 		yahoo_packet_hash(pkt, 97, "1");
 	yahoo_packet_hash(pkt, 14, msg2);
 
-	yahoo_packet_hash(pkt, 63, ";0"); /* IMvironment */
-	yahoo_packet_hash(pkt, 64, "0"); /* no idea */
+	yahoo_packet_hash(pkt,   63, ";0"); /* IMvironment */
+	yahoo_packet_hash(pkt,   64, "0"); /* no idea */
 	yahoo_packet_hash(pkt, 1002, "1"); /* no idea, Yahoo 6 or later only it seems */
-	yahoo_packet_hash(pkt, 206, "0"); /* 0 = no picture, 2 = picture, maybe 1 = avatar? */
+	yahoo_packet_hash(pkt,  206, "0"); /* 0 = no picture, 2 = picture, maybe 1 = avatar? */
 
 	yahoo_send_packet(yd, pkt);