re-enabled environment

This commit is contained in:
roberto@sirius
2010-03-26 09:24:46 +01:00
parent c60a81db47
commit 6ea9ee4ee9
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,3 +1,2 @@
d3850b52334a91d005b0fe45e1e38ba0997a1fb8 no_server mode
2d8a617299153ed2efa6ecee7920e9d36c29e0f5 0.9.5beta1
4246c58742ac6c05c994cd3b1c5dacd39cd78f9c 0.9.5beta2
+1 -1
View File
@@ -206,7 +206,7 @@ int uwsgi_request_wsgi(struct uwsgi_server *uwsgi, struct wsgi_request *wsgi_req
//fprintf(stderr,"%.*s: %.*s\n", wsgi_req->hvec[i].iov_len, wsgi_req->hvec[i].iov_base, wsgi_req->hvec[i+1].iov_len, wsgi_req->hvec[i+1].iov_base);
pydictkey = PyString_FromStringAndSize(wsgi_req->hvec[i].iov_base, wsgi_req->hvec[i].iov_len);
pydictvalue = PyString_FromStringAndSize(wsgi_req->hvec[i + 1].iov_base, wsgi_req->hvec[i + 1].iov_len);
//PyDict_SetItem(wsgi_req->async_environ, pydictkey, pydictvalue);
PyDict_SetItem(wsgi_req->async_environ, pydictkey, pydictvalue);
Py_DECREF(pydictkey);
Py_DECREF(pydictvalue);
}