From 25f8c236a419b3afed194e4f2067cba96ffdc3a3 Mon Sep 17 00:00:00 2001 From: file Date: Fri, 26 May 2006 19:48:17 +0000 Subject: Add ability to disable log / verbose output to remote consoles (issue #6524 reported by mavetju) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30603 f38db490-d61c-443f-a65b-d21fe96a405b --- logger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logger.c') diff --git a/logger.c b/logger.c index e4673a718..3459e46e9 100644 --- a/logger.c +++ b/logger.c @@ -756,11 +756,11 @@ void ast_log(int level, const char *file, int line, const char *function, const term_color(tmp3, linestr, COLOR_BRWHITE, 0, sizeof(tmp3)), term_color(tmp4, function, COLOR_BRWHITE, 0, sizeof(tmp4))); - ast_console_puts(buf); + ast_console_puts_mutable(buf); va_start(ap, fmt); vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); - ast_console_puts(buf); + ast_console_puts_mutable(buf); } /* File channels */ } else if ((chan->logmask & (1 << level)) && (chan->fileptr)) { -- cgit v1.2.3