Non-verbose output should always go to the remote console, regardless of the previous...
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 17 Feb 2012 19:56:58 +0000 (19:56 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 17 Feb 2012 19:56:58 +0000 (19:56 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355749 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/asterisk.c

index fd81462..98d28ed 100644 (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;
                                }