comparison src/protocols/msn/slp.c @ 11020:407e47f580e4

[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 <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 22 Jun 2005 22:59:01 +0000
parents 4f5fa4cc7eb4
children 719779387f96
comparison
equal deleted inserted replaced
11019:86725cfe0550 11020:407e47f580e4
840 new = msn_object_get_sha1c(obj); 840 new = msn_object_get_sha1c(obj);
841 841
842 if (new == NULL) 842 if (new == NULL)
843 return FALSE; 843 return FALSE;
844 844
845 if (old != NULL && !strcmp(old, new)) 845 /* If the old and new checksums are the same, and the file actually exists,
846 * then return TRUE */
847 if (old != NULL && !strcmp(old, new) && (gaim_buddy_icons_find(account, gaim_buddy_get_name(buddy)) != NULL))
846 return TRUE; 848 return TRUE;
847 849
848 return FALSE; 850 return FALSE;
849 } 851 }
850 852