[Asterisk-cvs] asterisk srv.c,1.10,1.11

markster at lists.digium.com markster at lists.digium.com
Sat Jul 17 18:20:23 CDT 2004


Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv20593

Modified Files:
	srv.c 
Log Message:
REduce chattyness


Index: srv.c
===================================================================
RCS file: /usr/cvsroot/asterisk/srv.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- srv.c	14 Jul 2004 07:44:19 -0000	1.10
+++ srv.c	17 Jul 2004 22:06:26 -0000	1.11
@@ -58,7 +58,8 @@
 		return -1;
 	}
 	if (res && strcmp(repl, ".")) {
-		ast_verbose( VERBOSE_PREFIX_3 "parse_srv: SRV mapped to host %s, port %d\n", repl, ntohs(srv->portnum));
+		if (option_verbose > 3)
+			ast_verbose( VERBOSE_PREFIX_3 "parse_srv: SRV mapped to host %s, port %d\n", repl, ntohs(srv->portnum));
 		if (host) {
 			strncpy(host, repl, hostlen - 1);
 			host[hostlen-1] = '\0';




More information about the svn-commits mailing list