aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-07-11 11:00:24 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-07-11 11:00:24 +0530
commitbed4dae042b2e2836338212905df9ee028a37260 (patch)
tree2bc7744dd5aa25f0225f4a3a1675c681b2126ea8 /src/main.c
parentc8d48db2011e61409bb6b56910b70d6bce3a72f6 (diff)
engine: ingest must return a list of content headers
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f404545..e99887b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -77,6 +77,8 @@ handle_file(const char *path)
if (strlen(buffer) != 0)
ingest(&buffer);
fprintf(out, "%s%s%s", base_template->pre, buffer, base_template->post);
+ list_t *content_headers = ingest(&buffer);
+ list_delete(content_headers);
}
free(buffer);