changeset 27560:708c7edba73b

If the error number is unknown, the error message should mention it, since the debug log does not print this secure request for Yahoo!.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 12 Jul 2009 18:47:57 +0000
parents 3dcc42d3cc12
children 3da1d149de25 bd8b78d9573c
files libpurple/protocols/yahoo/libymsg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 			}