Permalink
Browse files

run_app doesn't need request

  • Loading branch information...
1 parent ffd26b5 commit 181375a79d810e739094c91a2112ceb0fe12b5e7 @sekimura committed Oct 24, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 evpsgi.c
View
@@ -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;
@@ -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);

0 comments on commit 181375a

Please sign in to comment.