diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-21 18:20:34 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-21 18:20:34 +0000 |
commit | 4e21dc6279078c5c102bc283d954cb8644cc2e10 (patch) | |
tree | 0ce816f87461c2f10d5e115a27e884927db0e0f4 /pbx/pbx_gtkconsole.c | |
parent | 5482669fa7541844809117e9a6e7578ecab93dbc (diff) |
Merged revisions 117508 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r117508 | russell | 2008-05-21 13:20:11 -0500 (Wed, 21 May 2008) | 15 lines
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/branches/1.6.0@117509 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_gtkconsole.c')
-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 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); |