changeset 27023:7c864f388c96

Ladedah I dislike the need to explicitly check for NULL strings.
author Paul Aurich <paul@darkrain42.org>
date Wed, 03 Jun 2009 21:59:58 +0000
parents 3ada8179ff2a
children c59918579c3a
files libpurple/protocols/jabber/roster.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/roster.c	Wed Jun 03 21:57:19 2009 +0000
+++ b/libpurple/protocols/jabber/roster.c	Wed Jun 03 21:59:58 2009 +0000
@@ -396,7 +396,7 @@
 		purple_blist_alias_buddy(b, alias);
 
 		purple_debug_info("jabber", "jabber_roster_alias_change(): Aliased %s to %s\n",
-				name, alias);
+				name, alias ? alias : "(null)");
 
 		jabber_roster_update(gc->proto_data, name, NULL);
 	}