From 2b9c69b55f1aec5e3ef5269e796245c5cf3bc1c3 Mon Sep 17 00:00:00 2001 From: chrisplusplus Date: Wed, 20 Jun 2018 11:00:23 -0400 Subject: [PATCH] Update protocol_lws_minimal_server_echo.c This plugin will not compile as a plugin without changing LWS_PLUGIN_PROTOCOL_MINIMAL_server_echo to LWS_PLUGIN_PROTOCOL_MINIMAL_SERVER_ECHO --- .../minimal-ws-server-echo/protocol_lws_minimal_server_echo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal-examples/ws-server/minimal-ws-server-echo/protocol_lws_minimal_server_echo.c b/minimal-examples/ws-server/minimal-ws-server-echo/protocol_lws_minimal_server_echo.c index 7708dfb4d..aa3a0440e 100644 --- a/minimal-examples/ws-server/minimal-ws-server-echo/protocol_lws_minimal_server_echo.c +++ b/minimal-examples/ws-server/minimal-ws-server-echo/protocol_lws_minimal_server_echo.c @@ -229,7 +229,7 @@ callback_minimal_server_echo(struct lws *wsi, enum lws_callback_reasons reason, /* boilerplate needed if we are built as a dynamic plugin */ static const struct lws_protocols protocols[] = { - LWS_PLUGIN_PROTOCOL_MINIMAL_server_echo + LWS_PLUGIN_PROTOCOL_MINIMAL_SERVER_ECHO }; LWS_EXTERN LWS_VISIBLE int