Fix the sense of client_serve_request

This commit is contained in:
Alex Young
2012-06-06 14:25:35 +01:00
parent e8b47d5855
commit cfa9f9c71f
3 changed files with 11 additions and 11 deletions

View File

@@ -250,7 +250,7 @@ void accept_nbd_client(
}
int server_detect_closed(struct server* serve)
int server_is_closed(struct server* serve)
{
int errno_old = errno;
int result = fcntl(serve->server_fd, F_GETFD, 0) < 0;