Commit 4d6bedfd authored by Sergey Lyubka's avatar Sergey Lyubka

Merge branch 'master' of ssh://github.com/valenok/mongoose

parents ace8c173 781a1dc2
...@@ -769,7 +769,7 @@ int ns_server_poll(struct ns_server *server, int milli) { ...@@ -769,7 +769,7 @@ int ns_server_poll(struct ns_server *server, int milli) {
time_t current_time = time(NULL); time_t current_time = time(NULL);
if (server->listening_sock == INVALID_SOCKET && if (server->listening_sock == INVALID_SOCKET &&
server->active_connections == NULL) return 0; server->active_connections == NULL) return -1;
FD_ZERO(&read_set); FD_ZERO(&read_set);
FD_ZERO(&write_set); FD_ZERO(&write_set);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment