aboutsummaryrefslogtreecommitdiff
path: root/src/rss_html_common.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-07-27 20:14:05 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-27 20:14:05 +0200
commitec5e3c06084ef9c4b7fd71e4bb04af3fbe77bed9 (patch)
treedeb399105f1d752d8f97f13138ab9ad354df4bbd /src/rss_html_common.h
parent01a6bc67e70600680a1bbf6b9b5d102192760ae4 (diff)
Time of html items in json file should be the time of download finished, not the time of start of all downloads
Diffstat (limited to 'src/rss_html_common.h')
-rw-r--r--src/rss_html_common.h2
1 files changed, 1 insertions, 1 deletions
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);