mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-03 23:48:22 +00:00
another mule fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user