Mercurial > pidgin.yaz
changeset 24362:18858e645788
Fix CID #390
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 14 Nov 2008 06:31:31 +0000 |
parents | 4152b5c1c051 |
children | 3ef4625689e0 |
files | libpurple/server.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/server.c Fri Nov 14 06:29:05 2008 +0000 +++ b/libpurple/server.c Fri Nov 14 06:31:31 2008 +0000 @@ -259,7 +259,8 @@ purple_blist_server_alias_buddy(b, alias); conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_IM, b->name, account); - if(conv != NULL && alias != NULL && strcmp(alias, who)) + if(conv != NULL && alias != NULL && + who != NULL && strcmp(alias, who)) { char *escaped = g_markup_escape_text(who, -1); char *escaped2 = g_markup_escape_text(alias, -1);