aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-14 07:40:20 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-14 07:40:20 +0200
commit2c66b422e75109562e6ebfb6247300b916e1551a (patch)
tree47341d463bc143597ae3c1f4028ad0fb08de41db /main.c
parente571de83e94c60ec3737e93145e6ffdce5de9c58 (diff)
downloaddwm-2c66b422e75109562e6ebfb6247300b916e1551a.tar.zst
supplying NULL args in select
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6ef9ea7..16ebbae 100644
--- a/main.c
+++ b/main.c
@@ -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)