about summary refs log tree commit diff stats
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
parente571de83e94c60ec3737e93145e6ffdce5de9c58 (diff)
downloaddwm-2c66b422e75109562e6ebfb6247300b916e1551a.tar.gz
supplying NULL args in select
-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)
e refcount in address:shared' href='/akkartik/mu/commit/044space_surround.cc?h=main&id=263e6b2a9f35d977d8e2ca883432c6743a4b7711'>263e6b2a ^
b0bf5321 ^

bc643692 ^

8f1db754 ^
1ead3562 ^
9867dff4 ^
263e6b2a ^





8f1db754 ^




b24eb476 ^


263e6b2a ^
8f1db754 ^

b24eb476 ^
d0e29245 ^
82ac0b7e ^
b24eb476 ^
82ac0b7e ^
8f1db754 ^

b24eb476 ^

0487a30e ^
ae256ea1 ^
1b76245c ^
ae256ea1 ^
0487a30e ^
8f1db754 ^


047296d8 ^

1ead3562 ^
bc643692 ^
047296d8 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62