mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user