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:
parent
52e192ba4a
commit
cb7dd8c765
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue