diff --git a/mule.c b/mule.c index 70459ed9..2252cca0 100644 --- a/mule.c +++ b/mule.c @@ -47,7 +47,7 @@ void uwsgi_mule(int id) { for (i = 0; i < 0xFF; i++) { if (uwsgi.p[i]->mule) { if (uwsgi.p[i]->mule(uwsgi.mules[id-1].patch) == 1) { - uwsgi_log("loaded mule patch %s\n", uwsgi.mules[id-1].patch); + // never here break; } } diff --git a/plugins/python/uwsgi_pymodule.c b/plugins/python/uwsgi_pymodule.c index 6def3606..64acb839 100644 --- a/plugins/python/uwsgi_pymodule.c +++ b/plugins/python/uwsgi_pymodule.c @@ -1153,7 +1153,7 @@ PyObject *py_uwsgi_mule_msg(PyObject * self, PyObject * args) { char *message = NULL; Py_ssize_t message_len = 0; - int mule_id = 0; + int mule_id = 1; ssize_t len; if (!PyArg_ParseTuple(args, "s#|i:mule_msg", &message, &message_len, &mule_id)) {