aboutsummaryrefslogtreecommitdiffstats
path: root/manager.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-03 07:34:40 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-03 07:34:40 +0000
commit6c935d68a6925f6904c1f9fe6306e17bd0fde6c7 (patch)
tree0f4c3cb19422b45444aaba1aaf10b967644c80a5 /manager.c
parentae13ef5c11665ebc2b2a28be6e5a2491f1cb4d0a (diff)
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
Diffstat (limited to 'manager.c')
-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) {