From: Kevin P. Fleming Date: Thu, 8 Jan 2009 17:24:21 +0000 (+0000) Subject: remove an unnecessary argument to queue_request() X-Git-Tag: 1.4.23-testing~2^2~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ead4ba5cd8173ba6bc06d1b1d7224849cace6b02;p=thirdparty%2Fasterisk.git remove an unnecessary argument to queue_request() git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@167714 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 64efd96030..5d8ed871f0 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);