aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-18 14:13:35 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-08-18 14:13:35 +0000
commit6d9951a5927262f30eb2ca199bccafc8818b8d7d (patch)
tree0b74efac0b1618e7fd0daa20dc3c42d2664e6b2c /channels
parentaa5258eda55210855a1887bbb24753b3b29a9a21 (diff)
Remove unused tmp2 variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3623 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 60785a5c6..0c7c340fc 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 */