aboutsummaryrefslogtreecommitdiff
path: root/src/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index 6442188..b7abbdf 100644
--- a/src/html.c
+++ b/src/html.c
@@ -379,6 +379,8 @@ static int download_html_items_in_reverse(const char *plugin_filepath, Buffer *d
break;
added_download_items[download_item_index] = download_items_it;
+ // TODO: What if the download is so fast two items have the same timestamp? Maybe substract by MAX_UPDATE_ITEMS and then add 1 each loop,
+ // or use milliseconds/microseconds timestamps?
timestamps[download_item_index] = time(NULL);
++download_item_index;
}