Fix stop signal logic broken by the killswitch

This commit is contained in:
nick
2014-01-22 12:16:09 +00:00
parent dcead04cf6
commit afcc07a181
2 changed files with 3 additions and 3 deletions

View File

@@ -567,7 +567,7 @@ int client_serve_request(struct client* client)
if ( self_pipe_fd_isset( client->stop_signal, &fds ) ){
debug("Client received stop signal.");
return 0;
return 1; // Don't try to serve more requests
}