diff --git a/src/websockets.c b/src/websockets.c index dc9a033b..d17edd50 100644 --- a/src/websockets.c +++ b/src/websockets.c @@ -85,6 +85,7 @@ static struct libwebsocket_protocols protocols[] = { callback_mqtt, sizeof(struct libws_mqtt_data), 0, + 1, }, { NULL, NULL, 0, 0 } };