[asterisk-commits] tilghman: trunk r355749 - /trunk/main/asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 17 13:57:01 CST 2012


Author: tilghman
Date: Fri Feb 17 13:56:58 2012
New Revision: 355749

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=355749
Log:
Non-verbose output should always go to the remote console, regardless of the previous level.

Modified:
    trunk/main/asterisk.c

Modified: trunk/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/asterisk.c?view=diff&rev=355749&r1=355748&r2=355749
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Fri Feb 17 13:56:58 2012
@@ -2334,6 +2334,9 @@
 				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;
 				}




More information about the asterisk-commits mailing list