mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 18:55:19 +00:00 
			
		
		
		
	Remove unused tmp2 variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -3904,7 +3904,6 @@ static int transmit_notify_with_sipfrag(struct sip_pvt *p, int cseq) | ||||
| { | ||||
| 	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 @@ static int transmit_notify_with_sipfrag(struct sip_pvt *p, int cseq) | ||||
| 	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 */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user