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

asyncdns: provide correct length with CCE

This commit is contained in:
Yucong Sun 2021-09-18 03:47:24 +01:00 committed by Andy Green
parent 919981fba6
commit ed8865e2b2

View file

@ -352,7 +352,7 @@ solo:
*/
wsi->client_suppress_CONNECTION_ERROR = 0;
lws_inform_client_conn_fail(wsi, (void *)dns_nxdomain,
sizeof(dns_nxdomain));
sizeof(*dns_nxdomain));
goto failed1;
}
#endif