[Asterisk-cvs] asterisk/channels chan_sip.c,1.553,1.554

markster at lists.digium.com markster at lists.digium.com
Mon Nov 8 10:04:15 CST 2004


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

Modified Files:
	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.553
retrieving revision 1.554
diff -u -d -r1.553 -r1.554
--- chan_sip.c	8 Nov 2004 00:37:02 -0000	1.553
+++ chan_sip.c	8 Nov 2004 15:05:53 -0000	1.554
@@ -4285,8 +4285,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