aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-19 23:24:40 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-19 23:24:40 +0000
commite9000e4c34f59989da7c1384384614ac4746a93c (patch)
tree07706f615d0f65d0fca9665fd05a602358f51aea /server.c
parenta1db273dc21ba28bbc5b578bd5c20e28a8b1a370 (diff)
downloadrtmux-e9000e4c34f59989da7c1384384614ac4746a93c.tar.gz
rtmux-e9000e4c34f59989da7c1384384614ac4746a93c.tar.bz2
rtmux-e9000e4c34f59989da7c1384384614ac4746a93c.zip
Wake up every 100 ms instead of 500. Add note.
Diffstat (limited to 'server.c')
-rw-r--r--server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c
index 4a7518fa..75727904 100644
--- a/server.c
+++ b/server.c
@@ -1,4 +1,4 @@
-/* $Id: server.c,v 1.71 2008-06-19 22:04:02 nicm Exp $ */
+/* $Id: server.c,v 1.72 2008-06-19 23:24:40 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -188,7 +188,7 @@ server_main(const char *srv_path, int srv_fd)
/* Do the poll. */
log_debug("polling %d fds", nfds);
- if ((nfds = poll(pfds, nfds, 500)) == -1) {
+ if ((nfds = poll(pfds, nfds, 100)) == -1) {
if (errno == EAGAIN || errno == EINTR)
continue;
fatal("poll failed");