dect
/
asterisk
Archived
13
0
Fork 0

Increase CLI command output timeout for asterisk -rx to 60 seconds.

(closes issue #17049)
Reported by: russell
Tested by: russell

Review: https://reviewboard.asterisk.org/r/573/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253357 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2010-03-18 18:18:43 +00:00
parent a7c2c9a537
commit 5a8fa60ea8
1 changed files with 1 additions and 1 deletions

View File

@ -2656,7 +2656,7 @@ static void ast_remotecontrol(char *data)
fds.fd = ast_consock;
fds.events = POLLIN;
fds.revents = 0;
while (ast_poll(&fds, 1, 500) > 0) {
while (ast_poll(&fds, 1, 60000) > 0) {
char buffer[512] = "", *curline = buffer, *nextline;
int not_written = 1;