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:
Tilghman Lesher
2012-02-17 19:56:58 +00:00
parent 7c373d8c13
commit a93fbe2ad5

View File

@@ -2334,6 +2334,9 @@ static int ast_el_read_char(EditLine *editline, char *cp)
if (state->prev_line_full && VERBOSE_HASMAGIC(curline)) {
level = VERBOSE_MAGIC2LEVEL(curline);
curline++;
} else if (state->prev_line_full && !VERBOSE_HASMAGIC(curline)) {
/* Non-verbose output */
level = 0;
} else {
level = state->prev_line_verbosity;
}