From dae2e406d633ba32f2660100ef417ec13726765c Mon Sep 17 00:00:00 2001 From: default Date: Sat, 19 Aug 2023 09:59:58 +0200 Subject: history_add() now creates an etag. --- html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 11c1918..2b690e9 100644 --- a/html.c +++ b/html.c @@ -1891,7 +1891,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, status = 200; if (save) - history_add(&snac, h, *body, *b_size); + history_add(&snac, h, *body, *b_size, etag); } } else @@ -1922,7 +1922,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, status = 200; if (save) - history_add(&snac, "timeline.html_", *body, *b_size); + history_add(&snac, "timeline.html_", *body, *b_size, etag); } } } -- cgit v1.2.3