mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Bug 6861 - Routine should use the specified writetimeout, rather than the default
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
Block a user