From 5c1268c29d5161eabf82f6e91fd4152ecc566363 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 3 Apr 2006 07:34:40 +0000 Subject: [PATCH] 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 --- manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manager.c b/manager.c index f19b07fa9c..3a2be6d372 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) {