mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-23 16:43:49 +08:00
Fix mux_epoll__handle() use.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user