Move checking for a closed client out of server_lock_io and into client_serve_request

This commit is contained in:
Alex Young
2012-06-06 13:44:38 +01:00
parent 1b289a0e87
commit 16001eb9eb
3 changed files with 19 additions and 33 deletions

View File

@@ -45,14 +45,6 @@ int server_lock_io( struct server * serve)
"Problem with I/O lock"
);
if (server_detect_closed(serve)) {
SERVER_ERROR_ON_FAILURE(
pthread_mutex_unlock(&serve->l_io),
"Problem with I/O unlock"
);
return 0;
}
return 1;
}