diff libpurple/protocols/silc/buddy.c @ 16375:391a79778f89

Rework the buddy icon subsystem to use the imgstore subsystem, and modify the imgstore subsystem to not require IDs for everything.
author Richard Laager <rlaager@wiktel.com>
date Tue, 24 Apr 2007 03:57:07 +0000
parents 32c366eeeb99
children 24bbd7e46bfe
line wrap: on
line diff
--- a/libpurple/protocols/silc/buddy.c	Tue Apr 24 03:56:16 2007 +0000
+++ b/libpurple/protocols/silc/buddy.c	Tue Apr 24 03:57:07 2007 +0000
@@ -1716,7 +1716,7 @@
 	}
 
 	t = purple_buddy_icon_get_type((const PurpleBuddyIcon *)&ic);
-	if (!t) {
+	if (!t || !strcmp(t, "icon")) {
 		g_free(ic.data);
 		silc_mime_free(mime);
 		return;