From 6c447ca7e73a63e355d82f4477eb0882c05fbe3a Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Sat, 6 Aug 2022 15:36:37 +0200 Subject: [PATCH] [FIX]: show prefix as unset when it is --- recorder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recorder.c b/recorder.c index 795702a..6fa4696 100644 --- a/recorder.c +++ b/recorder.c @@ -1948,7 +1948,8 @@ int main(int argc, char **argv) exit(2); } #ifdef WITH_SHARES - olog(LOG_INFO, "HTTP prefix is %s", ud->http_prefix); + olog(LOG_INFO, "HTTP prefix is %s", + ud->http_prefix ? ud->http_prefix : "unset"); # endif /* WITH_SHARES */ }