aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndy Green <andy@warmcat.com>2021-10-16 08:28:20 +0100
committerAndy Green <andy@warmcat.com>2021-10-16 08:28:22 +0100
commit50f7bd4f6e757ce18c0b51c8896935628d5e9331 (patch)
treedfa0fc683273995466dd89ff61d9a5d333b88c34 /lib
parent55a7c6a0f4ebb7e080b7f0d511d0826094a0863c (diff)
downloadlibwebsockets-50f7bd4f6e757ce18c0b51c8896935628d5e9331.tar.gz
logs: unconvert adns wsi deref after potential close
Diffstat (limited to 'lib')
-rw-r--r--lib/system/async-dns/async-dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/async-dns/async-dns.c b/lib/system/async-dns/async-dns.c
index 7ad80bf8..e722214f 100644
--- a/lib/system/async-dns/async-dns.c
+++ b/lib/system/async-dns/async-dns.c
@@ -102,7 +102,7 @@ lws_async_dns_complete(lws_adns_q_t *q, lws_adns_cache_t *c)
*/
if (w->adns_cb(w, (const char *)&q[1], c ? c->results : NULL, 0,
q->opaque) == NULL)
- lwsl_wsi_info(w, "failed");
+ lwsl_info("%s: failed\n", __func__);
// lws_close_free_wsi(w, LWS_CLOSE_STATUS_NOSTATUS,
// "adopt udp2 fail");