aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-21 18:19:34 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-05-21 18:19:34 +0000
commit19001640ed47deca523a7d1d5737fa57c4917f0b (patch)
tree68554987c1c54e1e474ab8df3a6c50afa2c743e6 /main/asterisk.c
parent286cc502e6b189ef3b6f709fc173299d7541dada (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 'main/asterisk.c')
-rw-r--r--main/asterisk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index ef6c64de6..eb4d79d1a 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -906,6 +906,9 @@ void ast_console_puts(const char *string)
static void network_verboser(const char *s)
{
+ if (*s == 127) {
+ s++;
+ }
ast_network_puts_mutable(s);
}