# HG changeset patch # User Mark Doliner # Date 1119481141 0 # Node ID 407e47f580e46f5f645db233dd8a29f59652a8c3 # Parent 86725cfe055028b992f87ea1a54abf1985f7e5f5 [gaim-migrate @ 12891] sf patch #1223465, from Richard Laager "The MSN prpl considers the existence of a buddy_icon setting for a buddy in blist.xml to mean that a buddy icon exists. If the cache file has been deleted, this causes Gaim to fail to retrieve a new buddy icon." committer: Tailor Script diff -r 86725cfe0550 -r 407e47f580e4 src/protocols/msn/slp.c --- a/src/protocols/msn/slp.c Wed Jun 22 22:46:18 2005 +0000 +++ b/src/protocols/msn/slp.c Wed Jun 22 22:59:01 2005 +0000 @@ -842,7 +842,9 @@ if (new == NULL) return FALSE; - if (old != NULL && !strcmp(old, new)) + /* If the old and new checksums are the same, and the file actually exists, + * then return TRUE */ + if (old != NULL && !strcmp(old, new) && (gaim_buddy_icons_find(account, gaim_buddy_get_name(buddy)) != NULL)) return TRUE; return FALSE;