summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2009-09-15 04:11:58 +0530
committerMukund Sivaraman <muks@banu.com>2009-09-15 04:11:58 +0530
commitf3312c22a0fc49bf1d93e87ee8e84290f3f91171 (patch)
tree500a50b3d5e97b1471a6646e8e80742c6c970fba /src
parent551e041638e34d1cedc25bb3ce81c2daffdf4494 (diff)
downloadtinyproxy-f3312c22a0fc49bf1d93e87ee8e84290f3f91171.tar.gz
tinyproxy-f3312c22a0fc49bf1d93e87ee8e84290f3f91171.zip
Remove unused parameter from process_request()
Diffstat (limited to 'src')
-rw-r--r--src/reqs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 0a6e7ba..26b5e3b 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -506,8 +506,8 @@ static inline 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,
- hashmap_t hashofheaders)
+static struct request_s *
+process_request (struct conn_s *connptr)
{
char *url;
struct request_s *request;
@@ -1603,7 +1603,7 @@ void handle_connection (int fd)
return;
}
- request = process_request (connptr, hashofheaders);
+ request = process_request (connptr);
if (!request) {
if (!connptr->error_variables && !connptr->show_stats) {
update_stats (STAT_BADCONN);