Skip to content
Snippets Groups Projects
Commit 97f4b690 authored by Andy Green's avatar Andy Green
Browse files

client: use lws_strdup for client_hostname_copy

parent 0222cd25
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ create_new_conn: ...@@ -162,7 +162,7 @@ create_new_conn:
if (!wsi->client_hostname_copy) if (!wsi->client_hostname_copy)
wsi->client_hostname_copy = wsi->client_hostname_copy =
strdup(lws_hdr_simple_ptr(wsi, lws_strdup(lws_hdr_simple_ptr(wsi,
_WSI_TOKEN_CLIENT_PEER_ADDRESS)); _WSI_TOKEN_CLIENT_PEER_ADDRESS));
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment