fixed mule patch loading

This commit is contained in:
roberto@gambit
2011-10-20 10:38:59 +02:00
parent ed254bffee
commit 1084a3afa8
+1 -1
View File
@@ -44,10 +44,10 @@ void uwsgi_mule(int id) {
if (uwsgi.mules[id-1].patch) {
uwsgi_log("loading patch %s\n", uwsgi.mules[id-1].patch);
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);
break;
}
}