# HG changeset patch # User Tim Ringenbach # Date 1087193366 0 # Node ID 2104c10396269b86a84f6bca5310087bcae9a5f1 # Parent 1eaa4d8dcf26010da587c4ceb5be6c09a74086c9 [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 diff -r 1eaa4d8dcf26 -r 2104c1039626 src/protocols/yahoo/yahoo.c --- 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);