]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Bug 6861 - Routine should use the specified writetimeout, rather than the default
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 3 Apr 2006 07:34:40 +0000 (07:34 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 3 Apr 2006 07:34:40 +0000 (07:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17029 65c4cc65-6c06-0410-ace0-fbb531ad65f3

manager.c

index f19b07fa9c7550210116afd15d429f5d5fc8e1e4..3a2be6d372d7aaa30c01d90811b4dd6f514259b8 100644 (file)
--- 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) {