From cb7dd8c7653a4c24cf8423455278a67ef96af13c Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 16 Oct 2021 05:07:31 +0100 Subject: [PATCH] bind: use vhost log ctx since wsi optional --- lib/core-net/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core-net/network.c b/lib/core-net/network.c index 507977af7..6c155302b 100644 --- a/lib/core-net/network.c +++ b/lib/core-net/network.c @@ -397,7 +397,7 @@ lws_socket_bind(struct lws_vhost *vhost, struct lws *wsi, lws_sa46_write_numeric_address((lws_sockaddr46 *)psin, buf, sizeof(buf)); - lwsl_wsi_notice(wsi, "source ads %s", buf); + lwsl_vhost_notice(vhost, "source ads %s", buf); } return port;