[asterisk-commits] kpfleming: branch 1.4 r167714 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 8 11:24:21 CST 2009


Author: kpfleming
Date: Thu Jan  8 11:24:21 2009
New Revision: 167714

URL: http://svn.digium.com/view/asterisk?view=rev&rev=167714
Log:
remove an unnecessary argument to queue_request()

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=167714&r1=167713&r2=167714
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Thu Jan  8 11:24:21 2009
@@ -15995,7 +15995,7 @@
 	return 0;
 }
 
-static int queue_request(struct sip_pvt *p, const struct sip_request *req, const struct sockaddr_in *sin)
+static int queue_request(struct sip_pvt *p, const struct sip_request *req)
 {
 	struct sip_request *newreq;
 
@@ -16092,7 +16092,7 @@
 		append_history(p, "Rx", "%s / %s / %s", req.data, get_header(&req, "CSeq"), req.rlPart2);
 
 	if (!lockretry) {
-		if (!queue_request(p, &req, &sin)) {
+		if (!queue_request(p, &req)) {
 			/* the request has been queued for later handling */
 			ast_mutex_unlock(&p->lock);
 			ast_mutex_unlock(&netlock);




More information about the asterisk-commits mailing list