From 4f71c5b49f533685e2fedb001c9ccda46bf733a1 Mon Sep 17 00:00:00 2001 From: Bram Peeters Date: Mon, 29 Mar 2021 19:56:59 +0100 Subject: [PATCH] vhost: dont log null origin --- lib/core-net/vhost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core-net/vhost.c b/lib/core-net/vhost.c index 67408b828..0e04207fb 100644 --- a/lib/core-net/vhost.c +++ b/lib/core-net/vhost.c @@ -867,7 +867,8 @@ lws_create_vhost(struct lws_context *context, (void)mount_protocols[0]; lwsl_info(" mounting %s%s to %s\n", mount_protocols[mounts->origin_protocol], - mounts->origin, mounts->mountpoint); + mounts->origin ? mounts->origin : "none", + mounts->mountpoint); mounts = mounts->mount_next; }