mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 10:09:43 -05:00
Fix SLAP_SOCK_IS_MUTE typo
This commit is contained in:
parent
0b93bfc4f3
commit
08ec8ad068
1 changed files with 2 additions and 2 deletions
|
|
@ -206,7 +206,7 @@ static struct slap_daemon {
|
|||
#define SLAP_EVENT_FD(i) SLAP_EV_PTRFD(revents[i].data.ptr)
|
||||
#define SLAP_SOCK_SET_MUTE(s) SLAP_SOCK_CLR_READ(s)
|
||||
#define SLAP_SOCK_CLR_MUTE(s) SLAP_SOCK_SET_READ(s)
|
||||
#define SLAP_SOCK_IS_MUTE(s) !SLAP_SOCK_IS_READ(s)
|
||||
#define SLAP_SOCK_IS_MUTE(s) (!SLAP_SOCK_IS_READ(s))
|
||||
|
||||
#define SLAP_SOCK_SET_INIT \
|
||||
slap_daemon.sd_epolls = ch_malloc(sizeof(struct epoll_event) * dtblsize * 2); \
|
||||
|
|
@ -301,7 +301,7 @@ static struct slap_daemon {
|
|||
|
||||
#define SLAP_SOCK_SET_MUTE(s) FD_CLR(s, &readfds)
|
||||
#define SLAP_SOCK_CLR_MUTE(s) FD_SET(s, &readfds)
|
||||
#define SLAP_SOCK_IS_MUTE(s) FD_ISSET(s, &readfds)
|
||||
#define SLAP_SOCK_IS_MUTE(s) (!FD_ISSET(s, &readfds))
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue