[Commits] [SCM] claws branch, master, updated. 3.9.3-57-ga697eae
mones at claws-mail.org
mones at claws-mail.org
Fri Mar 28 00:27:21 CET 2014
The branch master of project "claws" (Claws Mail) has been updated
via a697eae3b750b59e1c51cda98a91ef1360453f18 (commit)
from 73a8781b8463557a0ddabe7b1beb0507a4d2beca (commit)
- Log -----------------------------------------------------------------
commit a697eae3b750b59e1c51cda98a91ef1360453f18
Author: Christian Hesse <mail at eworm.de>
Date: Wed Mar 26 22:27:53 2014 +0100
Fix bug #3126 “libravatar: do not collect empty files”
Signed-off-by: Ricardo Mones <ricardo at mones.org>
diff --git a/src/plugins/libravatar/libravatar.c b/src/plugins/libravatar/libravatar.c
index 62d7dc3..a7f9827 100644
--- 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);
}
-----------------------------------------------------------------------
Summary of changes:
src/plugins/libravatar/libravatar.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list