summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-02-26 16:29:15 +0000
committerMark Spencer <markster@digium.com>2005-02-26 16:29:15 +0000
commitc021ec56e33cd006de6f1de2a68bec2daa1a0342 (patch)
treec0651eb611d0ad27a3f20e9e265035518dd9d51a /channels
parent8295c77e9c1e42907786bfebd71ad0a8e212183f (diff)
Fix small but big typo in REGISTER/SUBSCRIBE early RTP closing (bug #3673)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 97c9e3522..83edfca8c 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8387,7 +8387,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
p->rtp = NULL;
}
if (p->vrtp) {
- ast_rtp_destroy(p->rtp);
+ ast_rtp_destroy(p->vrtp);
p->vrtp = NULL;
}
transmit_response(p, "200 OK", req);
@@ -8423,7 +8423,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
p->rtp = NULL;
}
if (p->vrtp) {
- ast_rtp_destroy(p->rtp);
+ ast_rtp_destroy(p->vrtp);
p->vrtp = NULL;
}
/* Destroy the session, but keep us around for just a bit in case they don't