changeset 9679:9c9932c9cd09

[gaim-migrate @ 10531] "I just found an annoying bug this morning. Is it possible to get this fix (see attached patch) in before the release today?" -- Mike Stoddard of Novell committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 05 Aug 2004 19:18:06 +0000
parents 640102510dec
children 958cfbb47ad6
files src/protocols/novell/novell.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/novell/novell.c	Thu Aug 05 18:57:22 2004 +0000
+++ b/src/protocols/novell/novell.c	Thu Aug 05 19:18:06 2004 +0000
@@ -268,7 +268,7 @@
 								nm_user_record_get_display_id(user_record));
 
 		alias = gaim_buddy_get_alias(buddy);
-		if (alias == NULL || (strcmp(alias, buddy->name) == 0)) {
+		if (alias == NULL || *alias == '\0' || (strcmp(alias, buddy->name) == 0)) {
 			gaim_blist_alias_buddy(buddy,
 								   nm_user_record_get_full_name(user_record));