diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-12-03 04:01:28 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-12-03 04:01:28 +0000 |
commit | 523ea7529cdfb4d20e3a2ade2db54f23d71fd479 (patch) | |
tree | 620aa34d2fedcdb5a07cd5968c7a222caed43849 /asterisk.c | |
parent | 22f776a8e13a45b885cfc6fdff8cf3a17a3a5bf0 (diff) |
Make asterisk -r not timeout
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1818 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'asterisk.c')
-rwxr-xr-x | asterisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asterisk.c b/asterisk.c index 0659cb431..57724f897 100755 --- a/asterisk.c +++ b/asterisk.c @@ -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; |