[FIX]: show prefix as unset when it is

This commit is contained in:
Jan-Piet Mens
2022-08-06 15:36:37 +02:00
parent 8371bf2ce4
commit 6c447ca7e7
+2 -1
View File
@@ -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 */
}