changeset 3448:0a0cc45267d4

[gaim-migrate @ 3490] This is how it's done. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 26 Aug 2002 05:18:31 +0000
parents 70053cefc187
children 8c6950b6eb82
files src/protocols/msn/msn.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Mon Aug 26 04:40:55 2002 +0000
+++ b/src/protocols/msn/msn.c	Mon Aug 26 05:18:31 2002 +0000
@@ -2113,9 +2113,9 @@
 	char *alias;
 
 	if (!entry || *entry == NULL) 
-		entry = gc->username;
-	
-	alias = str_to_utf8(url_encode(entry));
+		alias = g_strdup("");
+	else
+		alias = str_to_utf8(url_encode(entry));
 	
 	if (strlen(alias) >= BUDDY_ALIAS_MAXLEN) {
 		do_error_dialog(_("New MSN friendly name too long."), NULL, GAIM_ERROR);