pidgin: 706a8370: re-enable something that qulogic wrote b...

khc at pidgin.im khc at pidgin.im
Sun May 3 19:00:46 EDT 2009


-----------------------------------------------------------------
Revision: 706a83709228c4f9330ad89c170026fcf6cedaaa
Ancestor: 747f7586a776a69a1fba475128617b8bfe6a649b
Author: khc at pidgin.im
Date: 2009-05-03T22:59:02
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/706a83709228c4f9330ad89c170026fcf6cedaaa

Modified files:
        libpurple/protocols/msn/notification.c

ChangeLog: 

re-enable something that qulogic wrote but commented out because of a
previous string freeze, makes us display the textual ADL error if possible

References #8988

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	5af74e102ca714a8028cdd66057f7db7db9e8414
+++ libpurple/protocols/msn/notification.c	ce4729110217592677f6ef4059179575e973fd9b
@@ -844,10 +844,10 @@ adl_error_parse(MsnCmdProc *cmdproc, Msn
 	MsnSession *session;
 	PurpleAccount *account;
 	PurpleConnection *gc;
-	/*char *adl = g_strndup(payload, len);*/
-	char *reason = g_strdup_printf(_("Unknown error (%d)"),
-		GPOINTER_TO_INT(cmd->payload_cbdata)/*, adl*/);
-	/*g_free(adl);*/
+	char *adl = g_strndup(payload, len);
+	char *reason = g_strdup_printf(_("Unknown error (%d): %s"),
+		GPOINTER_TO_INT(cmd->payload_cbdata), adl);
+	g_free(adl);
 
 	session = cmdproc->session;
 	account = session->account;


More information about the Commits mailing list