diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 07:40:20 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 07:40:20 +0200 |
commit | 2c66b422e75109562e6ebfb6247300b916e1551a (patch) | |
tree | 47341d463bc143597ae3c1f4028ad0fb08de41db /main.c | |
parent | e571de83e94c60ec3737e93145e6ffdce5de9c58 (diff) |
supplying NULL args in select
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -263,7 +263,7 @@ main(int argc, char *argv[]) FD_SET(STDIN_FILENO, &rd); FD_SET(xfd, &rd); - i = select(xfd + 1, &rd, 0, 0, 0); + i = select(xfd + 1, &rd, NULL, NULL, NULL); if(i == -1 && errno == EINTR) continue; if(i < 0) |