Only print PRI messages when in verbose mode (bug #1732)
authorMark Spencer <markster@digium.com>
Thu, 27 May 2004 22:38:13 +0000 (22:38 +0000)
committerMark Spencer <markster@digium.com>
Thu, 27 May 2004 22:38:13 +0000 (22:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3099 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index eed2849..c0cadc3 100755 (executable)
@@ -6166,7 +6166,8 @@ static void *do_idle_thread(void *vchan)
 
 static void zt_pri_message(char *s)
 {
-       ast_verbose(s);
+       if (option_verbose)
+               ast_verbose(s);
 }
 
 static void zt_pri_error(char *s)