If the error number is unknown, the error message should mention it, since

Sun, 12 Jul 2009 18:47:57 +0000

author
Elliott Sales de Andrade <qulogic@pidgin.im>
date
Sun, 12 Jul 2009 18:47:57 +0000
changeset 27771
8fbde7f9d6b8
parent 27770
9d4cc577fe26
child 27772
bee35b5d6599
child 27773
049b0aa7b2ee

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

libpurple/protocols/yahoo/libymsg.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/yahoo/libymsg.c	Sun Jul 12 07:33:06 2009 +0000
+++ b/libpurple/protocols/yahoo/libymsg.c	Sun Jul 12 18:47:57 2009 +0000
@@ -1825,7 +1825,7 @@
 					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;
 			}

mercurial