From 8183ebfbccffab8abc1080525c7e51efc2f33860 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 21 May 2008 18:11:51 +0000 Subject: [PATCH] Don't display the verbose marker for calls to ast_verbose() that do not include a VERBOSE_PREFIX in front of the message. (closes issue #12702) Reported by: johnlange Patched by me git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@117479 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/asterisk.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main/asterisk.c b/main/asterisk.c index 934a617317..ef6c64de67 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -1370,8 +1370,12 @@ static void console_verboser(const char *s) (c = fix_header(tmp, sizeof(tmp), s, VERBOSE_PREFIX_1))) { fputs(tmp, stdout); fputs(c, stdout); - } else + } else { + if (*s == 127) { + s++; + } fputs(s, stdout); + } fflush(stdout);