changeset 25004:b4b76f6a2b27

Don't crash on Windows when removing an alias for an MSN buddy. Fixes #8279.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 29 Jan 2009 01:48:12 +0000
parents 86ba0d87c04b
children e01f455a99a6
files libpurple/protocols/msn/contact.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c	Tue Jan 27 05:25:01 2009 +0000
+++ b/libpurple/protocols/msn/contact.c	Thu Jan 29 01:48:12 2009 +0000
@@ -1362,7 +1362,8 @@
 	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");