1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

bind: use vhost log ctx since wsi optional

This commit is contained in:
Andy Green 2021-10-16 05:07:31 +01:00
parent 52e192ba4a
commit cb7dd8c765

View file

@ -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;