about summary refs log tree commit diff
path: root/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'events.c')
-rw-r--r--events.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/events.c b/events.c
index deedc59..7962ab3 100644
--- a/events.c
+++ b/events.c
@@ -131,5 +131,7 @@ enum kcgi_err pageEvents(struct kreq *req) {
 	if (result != SQLITE_DONE) errx(EX_SOFTWARE, "%s", sqlite3_errmsg(db));
 	sqlite3_reset(events);
 
-	return error || khtml_close(&html);
+	return error
+		|| htmlFooter(&html)
+		|| khtml_close(&html);
 }