Make asterisk -r not timeout
authorMark Spencer <markster@digium.com>
Wed, 3 Dec 2003 04:01:28 +0000 (04:01 +0000)
committerMark Spencer <markster@digium.com>
Wed, 3 Dec 2003 04:01:28 +0000 (04:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1818 65c4cc65-6c06-0410-ace0-fbb531ad65f3

asterisk.c

index 0659cb4..57724f8 100755 (executable)
@@ -182,7 +182,7 @@ static void *netconsole(void *vconsole)
                        max = con->p[0];
                tv.tv_sec = 4;  /* Wait max 4 sec for fds to become active */
                tv.tv_usec = 0;
-               res = ast_select(max + 1, &rfds, NULL, NULL, &tv);
+               res = ast_select(max + 1, &rfds, NULL, NULL, NULL);
                if (res < 0) {
                        ast_log(LOG_WARNING, "select returned < 0: %s\n", strerror(errno));
                        continue;