Fix mux_epoll__handle() use.

This commit is contained in:
Roger A. Light
2021-01-21 12:06:45 +00:00
parent a4389fc9ce
commit cda84950bb
3 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -71,7 +71,9 @@ int mux__delete(struct mosquitto *context)
int mux__handle(struct mosquitto__listener_sock *listensock, int listensock_count)
{
#ifdef WITH_EPOLL
return mux_epoll__handle(listensock, listensock_count);
UNUSED(listensock);
UNUSED(listensock_count);
return mux_epoll__handle();
#else
return mux_poll__handle(listensock, listensock_count);
#endif
+1 -1
View File
@@ -26,7 +26,7 @@ int mux_epoll__add_out(struct mosquitto *context);
int mux_epoll__remove_out(struct mosquitto *context);
int mux_epoll__add_in(struct mosquitto *context);
int mux_epoll__delete(struct mosquitto *context);
int mux_epoll__handle(struct mosquitto__listener_sock *listensock, int listensock_count);
int mux_epoll__handle(void);
int mux_epoll__cleanup(void);
int mux_poll__init(struct mosquitto__listener_sock *listensock, int listensock_count);
+1
View File
@@ -54,6 +54,7 @@ Contributors:
#include "mosquitto_broker_internal.h"
#include "memory_mosq.h"
#include "mux.h"
#include "packet_mosq.h"
#include "send_mosq.h"
#include "sys_tree.h"