fixed stupid bug with python add_var

This commit is contained in:
Roberto De Ioris
2014-03-15 12:51:15 +01:00
parent ae87fdd0f7
commit 5f74e6d964
+1 -1
View File
@@ -11,7 +11,7 @@ static PyObject *py_uwsgi_add_var(PyObject * self, PyObject * args) {
Py_ssize_t vallen = 0;
struct wsgi_request *wsgi_req = py_current_wsgi_req();
if (!PyArg_ParseTuple(args, "#s#s", &key, &keylen, &val, &vallen)) {
if (!PyArg_ParseTuple(args, "s#s#", &key, &keylen, &val, &vallen)) {
return NULL;
}