mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Non-verbose output should always go to the remote console, regardless of the previous level.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2334,6 +2334,9 @@ static int ast_el_read_char(EditLine *editline, char *cp)
|
|||||||
if (state->prev_line_full && VERBOSE_HASMAGIC(curline)) {
|
if (state->prev_line_full && VERBOSE_HASMAGIC(curline)) {
|
||||||
level = VERBOSE_MAGIC2LEVEL(curline);
|
level = VERBOSE_MAGIC2LEVEL(curline);
|
||||||
curline++;
|
curline++;
|
||||||
|
} else if (state->prev_line_full && !VERBOSE_HASMAGIC(curline)) {
|
||||||
|
/* Non-verbose output */
|
||||||
|
level = 0;
|
||||||
} else {
|
} else {
|
||||||
level = state->prev_line_verbosity;
|
level = state->prev_line_verbosity;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user