pidgin: e9f2748c: Fix CID #390

rlaager at pidgin.im rlaager at pidgin.im
Fri Nov 14 02:46:14 EST 2008


-----------------------------------------------------------------
Revision: e9f2748c88cd0d32f913e83abf67c534041cbe03
Ancestor: e1ed9b0078ba244f9f0a3196d3a79709af5973af
Author: rlaager at pidgin.im
Date: 2008-11-14T06:31:31
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e9f2748c88cd0d32f913e83abf67c534041cbe03

Modified files:
        libpurple/server.c

ChangeLog: 

Fix CID #390

-------------- next part --------------
============================================================
--- libpurple/server.c	188c4b6835c3ab4b275572f008c89581c52fcec5
+++ libpurple/server.c	ecf8d59e0327b248867616ce42c9b88ae0100241
@@ -259,7 +259,8 @@ serv_got_alias(PurpleConnection *gc, con
 		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);


More information about the Commits mailing list