Watch new monitor client connections

This commit is contained in:
Jeremy Lakeman 2012-06-26 12:20:49 +09:30
parent 0ca4c16f39
commit 64559bdca9

View File

@ -340,6 +340,8 @@ static void monitor_new_client(int s) {
fcntl(monitor_named_socket,F_SETFL,
fcntl(monitor_named_socket, F_GETFL, NULL)|O_NONBLOCK);
fd_watch(s, monitor_client_poll, POLL_IN);
return;
error: