Move the input data exhaustion loop to connection.c from daemon.c

This commit is contained in:
Julio Sánchez Fernández 1999-07-20 18:03:29 +00:00
parent 76227acb1f
commit 504038ffac

View File

@ -864,9 +864,7 @@ slapd_daemon_task(
* active.
*/
while ( ( rc = connection_read( rd ) ) > 0 )
;
if ( rc < 0 ) {
if ( connection_read( rd ) < 0 ) {
slapd_close( rd );
}
}