[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.14,1.510.2.15

russell at lists.digium.com russell at lists.digium.com
Tue Nov 9 00:22:22 CST 2004


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

Modified Files:
      Tag: v1-0
	chan_sip.c 
Log Message:
Fix verbose error (bug #2809)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.14
retrieving revision 1.510.2.15
diff -u -d -r1.510.2.14 -r1.510.2.15
--- chan_sip.c	8 Nov 2004 00:24:09 -0000	1.510.2.14
+++ chan_sip.c	9 Nov 2004 05:23:56 -0000	1.510.2.15
@@ -4368,8 +4368,9 @@
 						strncpy(p->username, u, sizeof(p->username) - 1);
 						
 					}
-					ast_verbose(VERBOSE_PREFIX_3 "SIP Seeding '%s' at %s@%s:%d for %d\n", p->name, 
-						p->username, ast_inet_ntoa(iabuf, sizeof(iabuf), in), atoi(c), atoi(d));
+					if (option_verbose > 2)
+						ast_verbose(VERBOSE_PREFIX_3 "SIP Seeding '%s' at %s@%s:%d for %d\n", p->name, 
+							p->username, ast_inet_ntoa(iabuf, sizeof(iabuf), in), atoi(c), atoi(d));
 					expiry = atoi(d);
 					memset(&p->addr, 0, sizeof(p->addr));
 					p->addr.sin_family = AF_INET;




More information about the svn-commits mailing list