summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-20 21:58:52 +0200
committerMichael Adam <obnox@samba.org>2009-09-20 21:58:52 +0200
commitfcb053a77cc892ebe92be8f7baff60f358189368 (patch)
tree14019d1d15bc7013b5499ef177af020ce026c9df
parent87f7a79e89b34277152b51e2c082ad867ec959b4 (diff)
downloadtinyproxy-fcb053a77cc892ebe92be8f7baff60f358189368.tar.gz
tinyproxy-fcb053a77cc892ebe92be8f7baff60f358189368.zip
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
Diffstat (limited to '')
-rw-r--r--src/reqs.c6
1 files changed, 3 insertions, 3 deletions
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);