From 68a35fb8e58f86995929839330b7aee0a3a92a87 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 23 Sep 2023 02:38:54 +0000 Subject: Better logging Signed-off-by: Laurent Bercot --- src/tipideed/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tipideed/log.c') diff --git a/src/tipideed/log.c b/src/tipideed/log.c index f5f2e81..b08e16f 100644 --- a/src/tipideed/log.c +++ b/src/tipideed/log.c @@ -44,10 +44,10 @@ void log_regular (char const *fn, char const *sizefmt, int ishead, char const *c strerr_warni8x("sending ", ishead ? "headers for " : "", "regular file ", fn, " (", sizefmt, " bytes) with type ", ct) ; } -void log_304 (char const *fn) +void log_response (char const *ans, char const *fn) { if (g.verbosity >= 2) - strerr_warni2x("answering 304 for regular file ", fn) ; + strerr_warni4x("answering ", ans, fn ? " for " : 0, fn) ; } void log_nph (char const *const *argv, char const *const *envp) -- cgit v1.3.1