[asterisk-commits] russell: branch 1.4 r117507 - in /branches/1.4: main/ pbx/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed May 21 13:19:34 CDT 2008
Author: russell
Date: Wed May 21 13:19:34 2008
New Revision: 117507
URL: http://svn.digium.com/view/asterisk?view=rev&rev=117507
Log:
1) Don't print the verbose marker in front of every message from ast_verbose()
being sent to remote consoles.
2) Fix pbx_gtkconsole to filter out the verbose marker.
(related to issue #12702)
Modified:
branches/1.4/main/asterisk.c
branches/1.4/pbx/pbx_gtkconsole.c
Modified: branches/1.4/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/asterisk.c?view=diff&rev=117507&r1=117506&r2=117507
==============================================================================
--- branches/1.4/main/asterisk.c (original)
+++ branches/1.4/main/asterisk.c Wed May 21 13:19:34 2008
@@ -906,6 +906,9 @@
static void network_verboser(const char *s)
{
+ if (*s == 127) {
+ s++;
+ }
ast_network_puts_mutable(s);
}
Modified: branches/1.4/pbx/pbx_gtkconsole.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_gtkconsole.c?view=diff&rev=117507&r1=117506&r2=117507
==============================================================================
--- branches/1.4/pbx/pbx_gtkconsole.c (original)
+++ branches/1.4/pbx/pbx_gtkconsole.c Wed May 21 13:19:34 2008
@@ -139,6 +139,10 @@
static void verboser(const char *stuff)
{
+ if (*stuff == 127) {
+ stuff++;
+ }
+
ast_mutex_lock(&verb_lock);
/* Lock appropriately if we're really being called in verbose mode */
__verboser(stuff);
More information about the asterisk-commits
mailing list