pidgin: ef021241: Don't crash on Windows when removing an ...

qulogic at pidgin.im qulogic at pidgin.im
Wed Jan 28 22:55:28 EST 2009


-----------------------------------------------------------------
Revision: ef02124197316893a5fcc15752bddf97c3cb3406
Ancestor: 586bc4a7e754d6b26a95c0d69dd5f2967c7a98a1
Author: qulogic at pidgin.im
Date: 2009-01-29T01:48:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ef02124197316893a5fcc15752bddf97c3cb3406

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

ChangeLog: 

Don't crash on Windows when removing an alias for an MSN buddy.

Fixes #8279.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/contact.c	2bd381a7e10cb1bce0594c59ea336ea90402f459
+++ libpurple/protocols/msn/contact.c	5e7be7afa90563a898c84f956fc176f6361965c0
@@ -1362,7 +1362,8 @@ msn_update_contact(MsnSession *session, 
 	xmlnode *changes;
 
 	purple_debug_info("msn", "Update contact information with new %s: %s\n",
-		type==MSN_UPDATE_DISPLAY ? "display name" : "alias", value);
+		type == MSN_UPDATE_DISPLAY ? "display name" : "alias",
+		value ? value : "(null)");
 	purple_debug_info("msn", "passport=%s\n", passport);
 	g_return_if_fail(passport != NULL);
 	contact_info = xmlnode_new("contactInfo");


More information about the Commits mailing list