diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-21 18:11:51 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-21 18:11:51 +0000 |
commit | 286cc502e6b189ef3b6f709fc173299d7541dada (patch) | |
tree | bac3896d21fc026023bdb23317dec1cbe3c61a33 /main/asterisk.c | |
parent | c131b70a71446648856d2f0ec6917ec19c680a47 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@117479 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/asterisk.c')
-rw-r--r-- | main/asterisk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 934a61731..ef6c64de6 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); |