Skip to content
Snippets Groups Projects
Commit e63364ba authored by Howard Chu's avatar Howard Chu
Browse files

Read a full buffer from wake_sds whenever we wake up from select().

parent aee24825
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment