[Asterisk-cvs] asterisk/channels chan_sip.c,1.668,1.669

markster at lists.digium.com markster at lists.digium.com
Sat Feb 26 10:31:25 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv621/channels

Modified Files:
	chan_sip.c 
Log Message:
Fix small but big typo in REGISTER/SUBSCRIBE early RTP closing (bug #3673)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.668
retrieving revision 1.669
diff -u -d -r1.668 -r1.669
--- chan_sip.c	26 Feb 2005 07:34:09 -0000	1.668
+++ chan_sip.c	26 Feb 2005 16:29:15 -0000	1.669
@@ -8387,7 +8387,7 @@
 				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 @@
 				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




More information about the svn-commits mailing list