diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 60785a5c6d7d9f61a0b0921b6ccf1c7e683056f2..0c7c340fc3c937fead21970e0afd2e7e0aadd56e 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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 */