diff options
author | Richard Basch <probe@mit.edu> | 1994-06-19 06:55:31 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1994-06-19 06:55:31 +0000 |
commit | cd2db71ea0d4f611b473bf1999eec73c45a46fbe (patch) | |
tree | b8ec66f1e9038f4e609362b6c0d3f816a3393835 /zwgc/mux.c | |
parent | e710177e94e4a1d1a3de7f53d908e3a0e2f66ad9 (diff) |
Do not assume select will work with a timeval of 0.
Diffstat (limited to 'zwgc/mux.c')
-rw-r--r-- | zwgc/mux.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ void mux_loop() input_sources_copy = input_sources; i = select(max_source+1, &input_sources_copy, (fd_set *)0, - (fd_set *)NULL, &tv); + (fd_set *)NULL, have_tty ? &tv : (struct timeval *)0); if (i == -1) { if (errno == EINTR) |