From 8aa7c570c8f24d19a903482401568f55c69b8aff Mon Sep 17 00:00:00 2001 From: Fufu Fang Date: Fri, 3 May 2024 07:37:44 +0100 Subject: [PATCH] added a todo note --- src/link.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/link.c b/src/link.c index fb5a323..1128fd4 100644 --- a/src/link.c +++ b/src/link.c @@ -802,6 +802,9 @@ LinkTable *path_to_Link_LinkTable_new(const char *path) time_t time_now = time(NULL); if (time_now - next_table->index_time > CONFIG.refresh_timeout) { /* refresh directory contents */ + /* + * TODO: Save the updated LinkTable + */ lprintf(info, "time_now: %d, index_time: %d\n", time_now, next_table->index_time) lprintf(info, "diff: %d, limit: %d\n", time_now - next_table->index_time, CONFIG.refresh_timeout); lprintf(info, "Refreshing LinkTable for %s\n", path);