Mercurial > pidgin
diff src/list.c @ 5210:39bb2a35f8d9
[gaim-migrate @ 5580]
alias is supposed to be NULL if it's blank
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 26 Apr 2003 05:31:26 +0000 |
parents | fefad67de2c7 |
children | 0241d6b6702d |
line wrap: on
line diff
--- a/src/list.c Fri Apr 25 23:26:37 2003 +0000 +++ b/src/list.c Sat Apr 26 05:31:26 2003 +0000 @@ -205,7 +205,10 @@ g_free(buddy->alias); - buddy->alias = g_strdup(alias); + if(alias && strlen(alias)) + buddy->alias = g_strdup(alias); + else + buddy->alias = NULL; if (ops) ops->update(gaimbuddylist, (GaimBlistNode*)buddy);