Fix prev commit

This commit is contained in:
Howard Chu 2009-06-05 00:01:11 +00:00
parent 8bdfd2edbb
commit 81b4184975

View File

@ -2582,7 +2582,9 @@ slapd_daemon_task(
#ifdef HAVE_EPOLL
/* Don't keep reporting the hangup
*/
SLAP_EPOLL_SOCK_SET( fd, EPOLLET );
if ( SLAP_SOCK_IS_ACTIVE( fd )) {
SLAP_EPOLL_SOCK_SET( fd, EPOLLET );
}
#endif
}
connection_read_activate( fd );