diff --git a/ChangeLog.txt b/ChangeLog.txt index 03e49047..14bc5086 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,10 @@ +2.0.2 - 2020-12-10 +================== + +Broker: +- Fix build regression for WITH_WEBSOCKETS=yes on non-Linux systems. + + 2.0.1 - 2020-12-10 ================== diff --git a/src/mux_poll.c b/src/mux_poll.c index fb8f56d3..7f256916 100644 --- a/src/mux_poll.c +++ b/src/mux_poll.c @@ -212,7 +212,7 @@ int mux_poll__handle(struct mosquitto__listener_sock *listensock, int listensock for(i=0; ilistener.ws_context){ + if(listensock[i].listener->ws_context){ /* Nothing needs to happen here, because we always call lws_service in the loop. * The important point is we've been woken up for this listener. */ }else