summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2008-05-21 18:20:11 +0000
committerRussell Bryant <russell@russellbryant.com>2008-05-21 18:20:11 +0000
commit457dbc1b4f83917848e0ebeb7b6546dc2d8b6b63 (patch)
treeac254ac73fc2318146439201343e84dcc4330c54 /pbx
parent467b4746abf9bd42d89d7b76faee489cb740fb80 (diff)
Merged revisions 117507 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r117507 | russell | 2008-05-21 13:19:34 -0500 (Wed, 21 May 2008) | 7 lines 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) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_gtkconsole.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c
index 5e47ac668..a12e139bb 100644
--- a/pbx/pbx_gtkconsole.c
+++ b/pbx/pbx_gtkconsole.c
@@ -132,6 +132,10 @@ static void __verboser(const char *_stuff)
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);