Commit 20197e24 authored by Karl Palsson's avatar Karl Palsson Committed by Roger A. Light
Browse files

websockets: fix compatibility with older lws versions (#260)

In 1.3, 1.4 and 1.5, the function was "libwebsockets_get_protocol" not
"libwebsocket_get_protocol"  While the #define name doesn't matter on
newer libwebsockets, where it redirects to lws_get_protocol, the naming
is critical for older versions.

Fixes: 477cd3e3

 (Fix missing context->listener for websocket client)

Signed-off-by: default avatarKarl Palsson <karlp@etactica.com>
parent a8194f0c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment