Make asterisk -r not timeout

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-12-03 04:01:28 +00:00
parent 8f276e00c5
commit 1525d7f901

View File

@@ -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;