comparison src/protocols/msn/msn.c @ 3447:70053cefc187

[gaim-migrate @ 3488] Actually, this is probably better. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 26 Aug 2002 04:40:55 +0000
parents 12d55ce4710b
children 0a0cc45267d4
comparison
equal deleted inserted replaced
3446:12d55ce4710b 3447:70053cefc187
2110 struct gaim_connection *gc = data; 2110 struct gaim_connection *gc = data;
2111 struct msn_data *md = gc->proto_data; 2111 struct msn_data *md = gc->proto_data;
2112 char buf[MSN_BUF_LEN]; 2112 char buf[MSN_BUF_LEN];
2113 char *alias; 2113 char *alias;
2114 2114
2115 if (!entry) 2115 if (!entry || *entry == NULL)
2116 entry = gc->username; 2116 entry = gc->username;
2117 2117
2118 alias = str_to_utf8(url_encode(entry)); 2118 alias = str_to_utf8(url_encode(entry));
2119 2119
2120 if (strlen(alias) >= BUDDY_ALIAS_MAXLEN) { 2120 if (strlen(alias) >= BUDDY_ALIAS_MAXLEN) {