mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user