- - Lauri
>From 80a42f359681f2b39fc0a5822d49c500ebe3f2d4 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Mon, 21 May 2012 20:04:36 +0300 Subject: [PATCH 10/13] mandril: Remove unused function argument
Signed-off-by: Lauri Kasanen <[email protected]> --- plugins/mandril/mandril.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mandril/mandril.c b/plugins/mandril/mandril.c index 6f4a149..634467b 100644 --- a/plugins/mandril/mandril.c +++ b/plugins/mandril/mandril.c @@ -188,7 +188,7 @@ static int mk_security_check_ip(int socket) } /* Check if the incoming URL is restricted for some rule */ -static int mk_security_check_url(int socket, mk_pointer url) +static int mk_security_check_url(mk_pointer url) { int n; struct mk_list *head; @@ -236,7 +236,7 @@ int _mkp_stage_10(unsigned int socket, struct sched_connection *conx) int _mkp_stage_20(struct client_session *cs, struct session_request *sr) { - if (mk_security_check_url(cs->socket, sr->uri) < 0) { + if (mk_security_check_url(sr->uri) < 0) { PLUGIN_TRACE("Close connection FD %i", cs->socket); mk_api->header_set_http_status(sr, MK_CLIENT_FORBIDDEN); return MK_PLUGIN_RET_CLOSE_CONX; -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
