summaryrefslogtreecommitdiff
path: root/libpurple
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2009-09-02 21:45:01 +0000
committerElliott Sales de Andrade <qulogic@pidgin.im>2009-09-02 21:45:01 +0000
commit5fbc2d86388f1e2344018aaaaf91292602e4f1d9 (patch)
tree9138c21150965d893653f10b64556e93bd70e7e0 /libpurple
parentb516b6d151bcde8c3628f90378c64fdb1337b1a2 (diff)
parentac05b80df257f7594d0344049852f5af95833ff2 (diff)
downloadpidgin-5fbc2d86388f1e2344018aaaaf91292602e4f1d9.tar.gz
merge of 'acd8ca882b713b59cec6c3e2645d709e1e5d54e0'
and 'df00b2e60fe294f6690c4f872266db2d95d8c414'
Diffstat (limited to 'libpurple')
-rw-r--r--libpurple/blist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/blist.c b/libpurple/blist.c
index 53179acb3b..09faeb676d 100644
--- a/libpurple/blist.c
+++ b/libpurple/blist.c
@@ -1118,7 +1118,7 @@ void purple_blist_alias_buddy(PurpleBuddy *buddy, const char *alias)
old_alias = buddy->alias;
if ((new_alias != NULL) && (*new_alias != '\0'))
- buddy->alias = g_strdup(alias);
+ buddy->alias = new_alias;
else {
buddy->alias = NULL;
g_free(new_alias); /* could be "\0" */