From ec5e3c06084ef9c4b7fd71e4bb04af3fbe77bed9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 27 Jul 2020 20:14:05 +0200 Subject: Time of html items in json file should be the time of download finished, not the time of start of all downloads --- src/rss_html_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rss_html_common.h') diff --git a/src/rss_html_common.h b/src/rss_html_common.h index 3ae9d77..2f9e053 100644 --- a/src/rss_html_common.h +++ b/src/rss_html_common.h @@ -28,7 +28,7 @@ int write_plugin_json_to_file(const char *dir, const char *filename, const char Note: tracked_item.json_data becomes invalid after this call. @tracked_dir is also modified and then restored at the end. */ -int tracked_item_update_latest(TrackedItem *tracked_item, char *tracked_dir, DownloadItemsData **download_items, char **filenames, int num_download_items); +int tracked_item_update_latest(TrackedItem *tracked_item, char *tracked_dir, DownloadItemsData **download_items, char **filenames, long *timestamps, int num_download_items); struct json_value_s* json_object_get_field_by_name(struct json_object_s *json_obj, const char *name); void create_json_string(struct json_string_s *json_result, const char *str, int len); void init_json_value_str(struct json_value_s *json_value, struct json_string_s *json_str); -- cgit v1.2.3