From 3a8db4a97a0e718c41428df85cd3b64683514d44 Mon Sep 17 00:00:00 2001 From: "roberto@debian32" Date: Mon, 24 Oct 2011 15:56:17 +0200 Subject: [PATCH] fixed unlocking --- plugins/python/uwsgi_pymodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/uwsgi_pymodule.c b/plugins/python/uwsgi_pymodule.c index 80a8cec6..6def3606 100644 --- a/plugins/python/uwsgi_pymodule.c +++ b/plugins/python/uwsgi_pymodule.c @@ -1037,7 +1037,7 @@ PyObject *py_uwsgi_unlock(PyObject * self, PyObject * args) { } - uwsgi_unlock(uwsgi.user_lock); + uwsgi_unlock(uwsgi.user_lock[lock_num]); Py_INCREF(Py_None); return Py_None;