aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-08 17:24:21 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-08 17:24:21 +0000
commitf119c8636f8271102ae820896801aed164bc8d66 (patch)
tree0ec70f0242b72030013130e3260badae56bba43b
parentc0035005e7d2b48b3967bf07d9530f1bcbb4d470 (diff)
remove an unnecessary argument to queue_request()
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@167714 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 64efd9603..5d8ed871f 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -15995,7 +15995,7 @@ static int scheduler_process_request_queue(const void *data)
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 @@ static int sipsock_read(int *id, int fd, short events, void *ignore)
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);