Mercurial > pidgin
changeset 3446:12d55ce4710b
[gaim-migrate @ 3487]
(00:33:21) javabsp: SeanEgan: setting the friendly name to empty string crashes gaim
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 26 Aug 2002 04:40:04 +0000 |
parents | 39f90ab838ea |
children | 70053cefc187 |
files | src/protocols/msn/msn.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/msn/msn.c Mon Aug 26 04:05:53 2002 +0000 +++ b/src/protocols/msn/msn.c Mon Aug 26 04:40:04 2002 +0000 @@ -2112,6 +2112,9 @@ char buf[MSN_BUF_LEN]; char *alias; + if (!entry) + entry = gc->username; + alias = str_to_utf8(url_encode(entry)); if (strlen(alias) >= BUDDY_ALIAS_MAXLEN) {