changeset 15101:ded621e635e4

[gaim-migrate @ 17886] close 1588351 and adhere to rfc3921bis committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 04 Dec 2006 01:53:12 +0000
parents 59189ce09f10
children 9b3f844a02d7
files libgaim/protocols/jabber/roster.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/jabber/roster.c	Mon Dec 04 01:52:05 2006 +0000
+++ b/libgaim/protocols/jabber/roster.c	Mon Dec 04 01:53:12 2006 +0000
@@ -262,8 +262,7 @@
 
 	xmlnode_set_attrib(item, "jid", name);
 
-	if(b->alias)
-		xmlnode_set_attrib(item, "name", b->alias);
+	xmlnode_set_attrib(item, "name", b->alias ? b->alias : "");
 
 	for(l = groups; l; l = l->next) {
 		group = xmlnode_new_child(item, "group");