mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Read a full buffer from wake_sds whenever we wake up from select().
This commit is contained in:
parent
aee2482547
commit
e63364baac
1 changed files with 2 additions and 2 deletions
|
|
@ -588,8 +588,8 @@ slapd_daemon_task(
|
|||
}
|
||||
|
||||
if( FD_ISSET( wake_sds[0], &readfds ) ) {
|
||||
char c;
|
||||
tcp_read( wake_sds[0], &c, 1 );
|
||||
char c[BUFSIZ];
|
||||
tcp_read( wake_sds[0], c, sizeof(c) );
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue