Mercurial > pidgin
diff libpurple/protocols/yahoo/libymsg.c @ 27515:f92d37b363c6
yahoo: Add the error code to the debug log.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 12 Jul 2009 18:48:59 +0000 |
parents | 07d09a987b86 |
children | a9eb6dbbba1b 15cde23b43bc |
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/libymsg.c Sun Jul 12 17:59:23 2009 +0000 +++ b/libpurple/protocols/yahoo/libymsg.c Sun Jul 12 18:48:59 2009 +0000 @@ -1724,8 +1724,8 @@ break; } if(error_reason) { - purple_debug_error("yahoo", "Authentication error: %s\n", - error_reason); + purple_debug_error("yahoo", "Authentication error: %s. " + "Code %d\n", error_reason, response_no); purple_connection_error_reason(gc, error, error_reason); g_free(error_reason); g_free(auth_data->seed); @@ -1829,8 +1829,8 @@ error = PURPLE_CONNECTION_ERROR_OTHER_ERROR; break; } - purple_debug_error("yahoo", "Authentication error: %s\n", - error_reason); + purple_debug_error("yahoo", "Authentication error: %s. Code %d\n", + error_reason, response_no); purple_connection_error_reason(gc, error, error_reason); g_free(error_reason); g_free(auth_data->seed);