From 51f7286ab8bd4a8b1eb4dc301c24559cdfed8a37 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 28 Jun 2012 17:06:42 +0200 Subject: [PATCH] dlight.c: move call to proc_cache_update() proc_cache_update() should be called after we have walked through the list of filters. Not on every filter. --- dlight.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlight.c b/dlight.c index 0acf5de..a97cc50 100644 --- a/dlight.c +++ b/dlight.c @@ -62,10 +62,10 @@ static void process_items(rss_t rss, struct target *t) { printf("Downloaded: %s (%s) to %s\n", item.title, item.link, filter->dest); - - proc_cache_update(item.link); } + proc_cache_update(item.link); + http_free_file(file); } }