mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 23:29:34 -05:00
Wrap w in WAKE_LISTENER
This commit is contained in:
parent
b9139ebf07
commit
43dba4fd45
1 changed files with 3 additions and 2 deletions
|
|
@ -84,8 +84,9 @@ static ber_socket_t wake_sds[2];
|
|||
static int emfile;
|
||||
|
||||
static int waking;
|
||||
#define WAKE_LISTENER(w) \
|
||||
do { if (w && waking < 5) { waking++; tcp_write( wake_sds[1], "0", 1 ); } } while(0)
|
||||
#define WAKE_LISTENER(w) do { \
|
||||
if ((w) && waking < 5) { waking++; tcp_write( wake_sds[1], "0", 1 ); } \
|
||||
} while(0)
|
||||
|
||||
volatile sig_atomic_t slapd_shutdown = 0, slapd_gentle_shutdown = 0;
|
||||
volatile sig_atomic_t slapd_abrupt_shutdown = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue