fixed a wrong cast in gevent plugin

This commit is contained in:
Unbit
2013-05-02 17:28:06 +02:00
parent a5070a5d98
commit 920eee36e3
+3 -2
View File
@@ -269,8 +269,9 @@ end2:
if (uwsgi.workers[uwsgi.mywid].manage_next_request == 0) {
int running_cores = 0;
for(int i=0;i<uwsgi.async;i++) {
int running_cores = 0;
int i;
for(i=0;i<uwsgi.async;i++) {
if (uwsgi.workers[uwsgi.mywid].cores[i].in_request) {
running_cores++;
}