src/protocols/msn/slp.c

changeset 11020
c1251ff4e369
parent 10907
9d159f3911f2
child 11127
5e539d9d26a4
--- 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;

mercurial