[evolution-rss] [parser] skip empty attachments



commit 6fee01698922dc1fbc28763b5fce8b097adc5bcf
Author: Lucian Langa <lucilanga gnome org>
Date:   Fri May 28 22:03:44 2010 +0300

    [parser] skip empty attachments

 src/rss.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index a7af3e8..0f62e79 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -5404,6 +5404,8 @@ process_attachments(create_feed *CF)
 	do {
 		gchar *tmpdir, *name;
 
+		if (!strlen(l->data))
+			continue;
 		if (g_list_find_custom(rf->enclist, l->data,
 			(GCompareFunc)strcmp))
 			continue;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]