This commit is contained in:
Roger A. Light 2016-06-06 16:02:55 +01:00
parent 5d96c3d7ba
commit 63416e6547

View File

@ -604,7 +604,7 @@ struct libwebsocket_context *mosq_websockets_init(struct _mqtt3_listener *listen
info.options |= LWS_SERVER_OPTION_DISABLE_IPV6; info.options |= LWS_SERVER_OPTION_DISABLE_IPV6;
#endif #endif
#if LWS_LIBRARY_VERSION_MAJOR>1 #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 #endif
user = _mosquitto_calloc(1, sizeof(struct libws_mqtt_hack)); user = _mosquitto_calloc(1, sizeof(struct libws_mqtt_hack));