aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-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 b45365f52..448695024 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -18714,7 +18714,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;
@@ -18832,7 +18832,7 @@ static int handle_request_do(struct sip_request *req, struct sockaddr_in *sin)
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 */
sip_pvt_unlock(p);
ast_mutex_unlock(&netlock);