improved wait_for_threads

This commit is contained in:
roberto@sirius
2012-05-14 17:42:34 +02:00
parent 9b16859c33
commit 26b7e6aabf
2 changed files with 13 additions and 2 deletions
+3 -1
View File
@@ -709,7 +709,9 @@ PyObject *py_uwsgi_send(PyObject * self, PyObject * args) {
PyObject *data;
PyObject *arg1, *arg2;
int uwsgi_fd = uwsgi.wsgi_req->poll.fd;
struct wsgi_request *wsgi_req = current_wsgi_req();
int uwsgi_fd = wsgi_req->poll.fd;
if (!PyArg_ParseTuple(args, "O|O:send", &arg1, &arg2)) {
return NULL;