im.pidgin.pidgin: b20d24b2fc575412a5ea68066f8bc275cbb3a65a

datallah at pidgin.im datallah at pidgin.im
Tue Oct 9 22:09:38 EDT 2007


-----------------------------------------------------------------
Revision: b20d24b2fc575412a5ea68066f8bc275cbb3a65a
Ancestor: 66603f7de1fc1610a0feef9594a314e1543b8cac
Author: datallah at pidgin.im
Date: 2007-10-10T01:14:34
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/yahoo/yahoo_aliases.c

ChangeLog: 

Clarify code to remove unnecessary check (CID 309).

-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_aliases.c	d9267270d7ee9084c8c3194831b42beb5bd05dd1
+++ libpurple/protocols/yahoo/yahoo_aliases.c	bbfa27d4c0abd972f0ae7715f9b09297f42b1c0a
@@ -117,7 +117,7 @@ yahoo_fetch_aliases_cb(PurpleUtilFetchUr
 					if (alias != NULL) {
 						serv_got_alias(cb->gc, yid, alias);
 						purple_debug_info("yahoo","Fetched alias '%s' (%s)\n",alias,id);
-					} else if (g_strcasecmp((alias!=NULL?alias:""),(b->alias!=NULL?b->alias:"")) != 0) {
+					} else if (b->alias != alias && strcmp(b->alias, "") != 0) {
 					/* Or if we have an alias that Yahoo doesn't, send it up */
 						yahoo_update_alias(cb->gc, yid, b->alias);
 						purple_debug_info("yahoo","Sent alias '%s'\n", b->alias);


More information about the Commits mailing list