fixed per-request chdir management

This commit is contained in:
roberto@quantal64
2012-07-17 10:06:38 +02:00
parent 2561d26b95
commit b76a47231c
+1 -1
View File
@@ -432,7 +432,7 @@ int uwsgi_request_wsgi(struct wsgi_request *wsgi_req) {
up.swap_ts(wsgi_req, wi);
if (wi->chdir) {
if (wi->chdir[0] != 0) {
#ifdef UWSGI_DEBUG
uwsgi_debug("chdir to %s\n", wi->chdir);
#endif