projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e571de8
)
supplying NULL args in select
author
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 05:40:20 +0000
(07:40 +0200)
committer
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 05:40:20 +0000
(07:40 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 6ef9ea76af96b2be89254340b81f86dfbb4a74e5..16ebbaef7e739f16d526c9c6fc93fe26485fd07c 100644
(file)
--- 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)