Remove unused parameter from process_request()

This commit is contained in:
Mukund Sivaraman 2009-09-15 04:11:58 +05:30
parent 551e041638
commit f3312c22a0

View File

@ -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 * Break the request line apart and figure out where to connect and
* build a new request line. Finally connect to the remote server. * 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 *
hashmap_t hashofheaders) process_request (struct conn_s *connptr)
{ {
char *url; char *url;
struct request_s *request; struct request_s *request;
@ -1603,7 +1603,7 @@ void handle_connection (int fd)
return; return;
} }
request = process_request (connptr, hashofheaders); request = process_request (connptr);
if (!request) { if (!request) {
if (!connptr->error_variables && !connptr->show_stats) { if (!connptr->error_variables && !connptr->show_stats) {
update_stats (STAT_BADCONN); update_stats (STAT_BADCONN);