[svn-commits] russell: trunk r117508 - in /trunk: ./ main/asterisk.c pbx/pbx_gtkconsole.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 21 13:20:11 CDT 2008


Author: russell
Date: Wed May 21 13:20:11 2008
New Revision: 117508

URL: http://svn.digium.com/view/asterisk?view=rev&rev=117508
Log:
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)

........

Modified:
    trunk/   (props changed)
    trunk/main/asterisk.c
    trunk/pbx/pbx_gtkconsole.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?view=diff&rev=117508&r1=117507&r2=117508
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Wed May 21 13:20:11 2008
@@ -964,6 +964,9 @@
 
 static void network_verboser(const char *s)
 {
+	if (*s == 127) {
+		s++;
+	}
 	ast_network_puts_mutable(s);
 }
 

Modified: trunk/pbx/pbx_gtkconsole.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_gtkconsole.c?view=diff&rev=117508&r1=117507&r2=117508
==============================================================================
--- trunk/pbx/pbx_gtkconsole.c (original)
+++ trunk/pbx/pbx_gtkconsole.c Wed May 21 13:20:11 2008
@@ -132,6 +132,10 @@
 
 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);




More information about the svn-commits mailing list