# HG changeset patch # User Paul Aurich # Date 1247424539 0 # Node ID f92d37b363c618e00842140d0c9099a695c2393d # Parent 381acdb3cedce5ebb273ad9800160603e15b9c4b yahoo: Add the error code to the debug log. diff -r 381acdb3cedc -r f92d37b363c6 libpurple/protocols/yahoo/libymsg.c --- 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);