pidgin: 3952ed72: yahoo login ver 16: Add another case of ...

sulabh at soc.pidgin.im sulabh at soc.pidgin.im
Sat Jun 6 04:20:29 EDT 2009


-----------------------------------------------------------------
Revision: 3952ed728efd23f39d502201b828c86acf6dffd2
Ancestor: 6fb44be5a32516ac1d940330c4f7b8d530208a16
Author: sulabh at soc.pidgin.im
Date: 2009-06-06T08:18:02
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3952ed728efd23f39d502201b828c86acf6dffd2

Modified files:
        libpurple/protocols/yahoo/yahoo.c

ChangeLog: 

yahoo login ver 16: Add another case of error reporting. Ask user to visit yahoo website in case of locked account.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo.c	0869b74a42f395e6a1d797e5e766690902f87406
+++ libpurple/protocols/yahoo/yahoo.c	b803108e2d166355b1f6fd31758b0a5b740f99e8
@@ -1741,7 +1741,7 @@ static void yahoo_auth16_stage1_cb(Purpl
 					break;
 				case 1213:
 					/* security lock from too many failed login attempts */
-					error_reason = g_strdup(_("Account locked: Too many failed login attempts"));
+					error_reason = g_strdup(_("Account locked: Too many failed login attempts.\nLogging into the Yahoo! website may fix this."));
 					error = PURPLE_CONNECTION_ERROR_OTHER_ERROR;
 					break;
 				case 1235:
@@ -1749,9 +1749,10 @@ static void yahoo_auth16_stage1_cb(Purpl
 					error_reason = g_strdup(_("Username does not exist"));
 					error = PURPLE_CONNECTION_ERROR_INVALID_USERNAME;
 					break;
+				case 1214:
 				case 1236:
 					/* indicates a lock of some description */
-					error_reason = g_strdup(_("Account locked: See the debug log"));
+					error_reason = g_strdup(_("Account locked: Unknown reason.\nLogging into the Yahoo! website may fix this."));
 					error = PURPLE_CONNECTION_ERROR_OTHER_ERROR;
 					break;
 				case 100:


More information about the Commits mailing list