Skip to content

Commit

Permalink
run_app doesn't need request
Browse files Browse the repository at this point in the history
  • Loading branch information
sekimura committed Oct 24, 2009
1 parent ffd26b5 commit 181375a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evpsgi.c
Expand Up @@ -231,7 +231,7 @@ SV* new_env(struct evhttp_request *req) {
return newRV_inc((SV *) env);
}

static SV *run_app(struct evhttp_request *req, SV *env)
static SV *run_app(SV *env)
{
dTHX;
int count;
Expand Down Expand Up @@ -408,7 +408,7 @@ void psgi_handler(struct evhttp_request *req, void *arg)

env = new_env(req);

res = run_app(req, env);
res = run_app(env);
if (res == NULL) {
evhttp_send_error(req, 500, "Internal Server Error");
evbuffer_free(evb);
Expand Down

0 comments on commit 181375a

Please sign in to comment.