diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-21 18:19:34 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-21 18:19:34 +0000 |
commit | 19001640ed47deca523a7d1d5737fa57c4917f0b (patch) | |
tree | 68554987c1c54e1e474ab8df3a6c50afa2c743e6 /pbx | |
parent | 286cc502e6b189ef3b6f709fc173299d7541dada (diff) |
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/branches/1.4@117507 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_gtkconsole.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c index 4a4c3ba45..75f1c8f10 100644 --- a/pbx/pbx_gtkconsole.c +++ b/pbx/pbx_gtkconsole.c @@ -139,6 +139,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); |