From 305385e06f90ca3216e1aa4e43b20dd7d53c1222 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 24 Oct 2023 12:38:53 +0000 Subject: Make the switch to custom headers Signed-off-by: Laurent Bercot --- src/libtipidee/tipidee_response_file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libtipidee/tipidee_response_file.c') diff --git a/src/libtipidee/tipidee_response_file.c b/src/libtipidee/tipidee_response_file.c index 0cbe8f4..f2021ee 100644 --- a/src/libtipidee/tipidee_response_file.c +++ b/src/libtipidee/tipidee_response_file.c @@ -11,11 +11,11 @@ #include #include -size_t tipidee_response_file (buffer *b, tipidee_rql const *rql, unsigned int status, char const *reason, struct stat const *st, char const *ct, uint32_t options, tain const *stamp) +size_t tipidee_response_file (buffer *b, tipidee_rql const *rql, unsigned int status, char const *reason, struct stat const *st, char const *ct, tipidee_response_header const *rhdr, uint32_t rhdrn, uint32_t options, tain const *stamp) { char fmt[128] ; size_t n = tipidee_response_status(b, rql, status, reason) ; - n += tipidee_response_header_common_put(b, options & 1, stamp) ; + n += tipidee_response_header_writeall(b, rhdr, rhdrn, options & 1, stamp) ; if (options & 2) { size_t l = tipidee_response_header_lastmodified(fmt, 128, st) ; -- cgit v1.3.1