[Asterisk-cvs] asterisk/channels chan_iax2.c,1.75,1.76

markster at lists.digium.com markster at lists.digium.com
Wed Dec 3 08:40:19 CST 2003


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

Modified Files:
	chan_iax2.c 
Log Message:
Don't don't show verbose 3 message when verbose not set


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- chan_iax2.c	17 Nov 2003 23:46:54 -0000	1.75
+++ chan_iax2.c	3 Dec 2003 15:06:41 -0000	1.76
@@ -3515,7 +3515,8 @@
 				if (d) {
 					*d = '\0';
 					d++;
-					ast_verbose(VERBOSE_PREFIX_3 "Seeding '%s' at %s:%d for %d\n", p->name, 
+					if (option_verbose > 2)
+						ast_verbose(VERBOSE_PREFIX_3 "Seeding '%s' at %s:%d for %d\n", p->name, 
 						inet_ntoa(in), atoi(c), atoi(d));
 					iax2_poke_peer(p);
 					p->expirey = atoi(d);




More information about the svn-commits mailing list