projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a8781
)
Fix bug #3126 “libravatar: do not collect empty files”
author
Christian Hesse
<mail@eworm.de>
Wed, 26 Mar 2014 21:27:53 +0000
(22:27 +0100)
committer
Ricardo Mones
<ricardo@mones.org>
Thu, 27 Mar 2014 23:25:40 +0000
(
00:25
+0100)
Signed-off-by: Ricardo Mones <ricardo@mones.org>
src/plugins/libravatar/libravatar.c
patch
|
blob
|
history
diff --git
a/src/plugins/libravatar/libravatar.c
b/src/plugins/libravatar/libravatar.c
index 62d7dc3a5eab8d93e39793391c77b69cd1f546a7..a7f9827951e5194b0bec607967626d4104a00dbf 100644
(file)
--- a/
src/plugins/libravatar/libravatar.c
+++ b/
src/plugins/libravatar/libravatar.c
@@
-171,7
+171,7
@@
static GtkWidget *image_widget_from_url(const gchar *url, const gchar *md5)
else
image = image_widget_from_filename(filename);
- if (!libravatarprefs.cache_icons) {
+ if (!libravatarprefs.cache_icons
|| filesize == 0
) {
if (g_unlink(filename) < 0)
g_warning("failed to delete cache file %s\n", filename);
}