diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-23 02:38:54 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-23 02:38:54 +0000 |
commit | 68a35fb8e58f86995929839330b7aee0a3a92a87 (patch) | |
tree | bebf8cf5b90c3104a211e2f326cbf0f3799a47d4 /src/tipideed/log.c | |
parent | 139b577cbeccd495038da51a8a3ddc8eb3397a4d (diff) | |
download | tipidee-68a35fb8e58f86995929839330b7aee0a3a92a87.tar.gz tipidee-68a35fb8e58f86995929839330b7aee0a3a92a87.tar.xz tipidee-68a35fb8e58f86995929839330b7aee0a3a92a87.zip |
Better logging
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/log.c')
-rw-r--r-- | src/tipideed/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |