various fixes from 0.9.5.2

This commit is contained in:
roberto@voldemort
2010-06-26 22:37:46 +02:00
parent 2877ba54de
commit b7edaa68c8
16 changed files with 168 additions and 89 deletions
+1 -2
View File
@@ -104,8 +104,7 @@ int uwsgi_request(struct uwsgi_server *uwsgi, struct wsgi_request *wsgi_req) {
}
// put function in the stack
lua_pushvalue(ulua.L, -1);
lua_getfield(ulua.L, -1, "run");
lua_getfield(ulua.L, LUA_GLOBALSINDEX, "run");
// put cgi vars in the stack
lua_newtable(ulua.L);