From 2c66b422e75109562e6ebfb6247300b916e1551a Mon Sep 17 00:00:00 2001 From: "Anselm R.Garbe" Date: Mon, 14 Aug 2006 07:40:20 +0200 Subject: supplying NULL args in select --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 6ef9ea76..16ebbaef 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) -- cgit v1.2.3