aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-21 18:20:11 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-21 18:20:11 +0000
commitc77577be0c374b03399746042bedbeda3fb5e5a7 (patch)
treeac254ac73fc2318146439201343e84dcc4330c54 /pbx
parent8dbcfb636ddc028b328c1b2b84d5b782cb08a4b5 (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: http://svn.digium.com/svn/asterisk/trunk@117508 f38db490-d61c-443f-a65b-d21fe96a405b
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);