[Asterisk-cvs] asterisk/channels chan_zap.c,1.236,1.237

markster at lists.digium.com markster at lists.digium.com
Thu May 27 18:23:26 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv4809/channels

Modified Files:
	chan_zap.c 
Log Message:
Only print PRI messages when in verbose mode (bug #1732)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -d -r1.236 -r1.237
--- chan_zap.c	27 May 2004 16:50:07 -0000	1.236
+++ chan_zap.c	27 May 2004 22:38:13 -0000	1.237
@@ -6166,7 +6166,8 @@
 
 static void zt_pri_message(char *s)
 {
-	ast_verbose(s);
+	if (option_verbose)
+		ast_verbose(s);
 }
 
 static void zt_pri_error(char *s)




More information about the svn-commits mailing list