[Asterisk-cvs] asterisk/channels chan_sip.c,1.474,1.475

markster at lists.digium.com markster at lists.digium.com
Wed Aug 18 10:27:30 CDT 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Remove unused tmp2 variable


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.474
retrieving revision 1.475
diff -u -d -r1.474 -r1.475
--- chan_sip.c	18 Aug 2004 13:55:03 -0000	1.474
+++ chan_sip.c	18 Aug 2004 14:13:35 -0000	1.475
@@ -3904,7 +3904,6 @@
 {
 	struct sip_request req;
 	char tmp[256];
-	char tmp2[256];
 	char clen[20];
 	initreqprep(&req, p, "NOTIFY", NULL);
 	snprintf(tmp, sizeof(tmp), "refer;id=%d", cseq);
@@ -3916,7 +3915,6 @@
 	snprintf(clen, sizeof(clen), "%d", (int)(strlen(tmp)));
 	add_header(&req, "Content-Length", clen);
 	add_line(&req, tmp);
-	add_line(&req, tmp2);
 
 	if (!p->initreq.headers) {
 		/* Use this as the basis */




More information about the svn-commits mailing list