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

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
This commit is contained in:
chrisplusplus 2018-06-20 11:00:23 -04:00 committed by Andy Green
parent 6648e01072
commit 2b9c69b55f

View file

@ -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