# HG changeset patch # User Sean Egan # Date 1030336804 0 # Node ID 12d55ce4710be1aba06572ebfc15433a2aad3ea2 # Parent 39f90ab838ea277bd23a51bf90903ac2e2c72a8e [gaim-migrate @ 3487] (00:33:21) javabsp: SeanEgan: setting the friendly name to empty string crashes gaim committer: Tailor Script diff -r 39f90ab838ea -r 12d55ce4710b src/protocols/msn/msn.c --- 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) {