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.
This commit is contained in:
parent
d49b1b2456
commit
51f7286ab8
1 changed files with 2 additions and 2 deletions
4
dlight.c
4
dlight.c
|
|
@ -62,10 +62,10 @@ static void process_items(rss_t rss, struct target *t) {
|
||||||
|
|
||||||
printf("Downloaded: %s (%s) to %s\n",
|
printf("Downloaded: %s (%s) to %s\n",
|
||||||
item.title, item.link, filter->dest);
|
item.title, item.link, filter->dest);
|
||||||
|
|
||||||
proc_cache_update(item.link);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
proc_cache_update(item.link);
|
||||||
|
|
||||||
http_free_file(file);
|
http_free_file(file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Reference in a new issue