dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 2c66b422e75109562e6ebfb6247300b916e1551a
parent e571de83e94c60ec3737e93145e6ffdce5de9c58
Author: Anselm R.Garbe <arg@10ksloc.org>
Date:   Mon, 14 Aug 2006 07:40:20 +0200

supplying NULL args in select

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)