diff --git a/src/websockets.c b/src/websockets.c index b548b47f..fbf1bc5c 100644 --- a/src/websockets.c +++ b/src/websockets.c @@ -604,7 +604,7 @@ struct libwebsocket_context *mosq_websockets_init(struct _mqtt3_listener *listen info.options |= LWS_SERVER_OPTION_DISABLE_IPV6; #endif #if LWS_LIBRARY_VERSION_MAJOR>1 - info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT + info.options |= LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT; #endif user = _mosquitto_calloc(1, sizeof(struct libws_mqtt_hack));