summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-04-03 07:34:40 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-04-03 07:34:40 +0000
commit5c1268c29d5161eabf82f6e91fd4152ecc566363 (patch)
tree0f4c3cb19422b45444aaba1aaf10b967644c80a5
parent552fb750f097e6ec89c9ee67c1fd4ee963bfbf6d (diff)
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
-rw-r--r--manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index f19b07fa9..3a2be6d37 100644
--- a/manager.c
+++ b/manager.c
@@ -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) {