Bug 6861 - Routine should use the specified writetimeout, rather than the default
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17029 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
ae13ef5c11
commit
6c935d68a6
|
@ -407,7 +407,7 @@ void astman_append(struct mansession *s, const char *fmt, ...)
|
|||
ast_log(LOG_ERROR, "Memory allocation failure\n");
|
||||
} else {
|
||||
if (s->fd > -1)
|
||||
ast_carefulwrite(s->fd, stuff, strlen(stuff), 100);
|
||||
ast_carefulwrite(s->fd, stuff, strlen(stuff), s->writetimeout);
|
||||
else {
|
||||
tmp = realloc(s->outputstr, (s->outputstr ? strlen(s->outputstr) : 0) + strlen(stuff) + 1);
|
||||
if (tmp) {
|
||||
|
|
Reference in New Issue