dect
/
asterisk
Archived
13
0
Fork 0

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:
tilghman 2006-04-03 07:34:40 +00:00
parent ae13ef5c11
commit 6c935d68a6
1 changed files with 1 additions and 1 deletions

View File

@ -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) {