Skip to content
Snippets Groups Projects
Commit 504038ff authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

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

parent 76227acb
No related branches found
No related tags found
No related merge requests found
...@@ -864,9 +864,7 @@ slapd_daemon_task( ...@@ -864,9 +864,7 @@ slapd_daemon_task(
* active. * active.
*/ */
while ( ( rc = connection_read( rd ) ) > 0 ) if ( connection_read( rd ) < 0 ) {
;
if ( rc < 0 ) {
slapd_close( rd ); slapd_close( rd );
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment