pidgin: ada33a63: If the error number is unknown, the erro...

qulogic at pidgin.im qulogic at pidgin.im
Mon Jul 13 02:01:09 EDT 2009


-----------------------------------------------------------------
Revision: ada33a635fb4eb070d7921ee7031927b865d6642
Ancestor: 0a622e51eb4f20f13d90ea9a1e4c11187a7437fd
Author: qulogic at pidgin.im
Date: 2009-07-12T18:47:57
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ada33a635fb4eb070d7921ee7031927b865d6642

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

ChangeLog: 

If the error number is unknown, the error message should mention it, since
the debug log does not print this secure request for Yahoo!.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	e120879968c13e0dfce6ed7f791eea0dbc2a9168
+++ libpurple/protocols/yahoo/libymsg.c	faa2f75e5587a5942416590ed2c546bc7f7f960f
@@ -1825,7 +1825,7 @@ static void yahoo_auth16_stage1_cb(Purpl
 					break;
 				default:
 					/* Unknown error! */
-					error_reason = g_strdup(_("Unknown error"));
+					error_reason = g_strdup_printf(_("Unknown error: %d"), response_no);
 					error = PURPLE_CONNECTION_ERROR_OTHER_ERROR;
 					break;
 			}


More information about the Commits mailing list