From fcb053a77cc892ebe92be8f7baff60f358189368 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 20 Sep 2009 21:58:52 +0200 Subject: Revert "Remove unused parameter from process_request()" This reverts commit f3312c22a0fc49bf1d93e87ee8e84290f3f91171. The "hashofheaders" argument to process_request() is needed for building with reverse support or with transparent support. Michael --- src/reqs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/reqs.c b/src/reqs.c index 66aafca..282d014 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -506,8 +506,8 @@ static int send_ssl_response (struct conn_s *connptr) * Break the request line apart and figure out where to connect and * build a new request line. Finally connect to the remote server. */ -static struct request_s * -process_request (struct conn_s *connptr) +static struct request_s *process_request (struct conn_s *connptr, + hashmap_t hashofheaders) { char *url; struct request_s *request; @@ -1603,7 +1603,7 @@ void handle_connection (int fd) return; } - request = process_request (connptr); + request = process_request (connptr, hashofheaders); if (!request) { if (!connptr->error_variables && !connptr->show_stats) { update_stats (STAT_BADCONN); -- cgit v1.2.3