pidgin: 53abc38e: yahoo: Add the error code to the debug l...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Jul 12 14:50:30 EDT 2009


-----------------------------------------------------------------
Revision: 53abc38e3dfd2e9f8ae8c3e6532379d4b0dc333b
Ancestor: 2a40c5706d6b83225c3c754137725e5aab2e6d3d
Author: darkrain42 at pidgin.im
Date: 2009-07-12T18:48:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/53abc38e3dfd2e9f8ae8c3e6532379d4b0dc333b

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

ChangeLog: 

yahoo: Add the error code to the debug log.

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/libymsg.c	e120879968c13e0dfce6ed7f791eea0dbc2a9168
+++ libpurple/protocols/yahoo/libymsg.c	56db34f282d625cdf71c92cd205f982271a821a2
@@ -1724,8 +1724,8 @@ static void yahoo_auth16_stage2(PurpleUt
 					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 @@ static void yahoo_auth16_stage1_cb(Purpl
 					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);


More information about the Commits mailing list