summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2012-02-17 19:56:58 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2012-02-17 19:56:58 +0000
commita93fbe2ad5d4a30c538b62efa4439d270e1cf862 (patch)
tree5c42af8d88a27123f8c569c8f9e6270b5722c567 /main
parent7c373d8c1373569e5d9f57ba4a909ea8ac2572cb (diff)
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
Diffstat (limited to 'main')
-rw-r--r--main/asterisk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index fd81462fb..98d28ed3e 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -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;
}