summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-08-19 09:59:58 +0200
committerdefault <nobody@localhost>2023-08-19 09:59:58 +0200
commitdae2e406d633ba32f2660100ef417ec13726765c (patch)
treef0fc2ee7f826907665ff883cd205d1f355030a2c /html.c
parent5c7b26bcdcac85433f45e93a934525ecf1e92414 (diff)
history_add() now creates an etag.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}
}