summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/python/pump_subhandler.c2
-rw-r--r--plugins/python/web3_subhandler.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/python/pump_subhandler.c b/plugins/python/pump_subhandler.c
index 97315a8f..702dd7e0 100644
--- a/plugins/python/pump_subhandler.c
+++ b/plugins/python/pump_subhandler.c
@@ -342,12 +342,12 @@ int uwsgi_response_subhandler_pump(struct wsgi_request *wsgi_req) {
UWSGI_RELEASE_GIL
return UWSGI_AGAIN;
}
+#endif
}
else {
uwsgi_log("invalid Pump response.\n");
goto clear;
}
-#endif
}
diff --git a/plugins/python/web3_subhandler.c b/plugins/python/web3_subhandler.c
index 8ca950a9..1bde7d5e 100644
--- a/plugins/python/web3_subhandler.c
+++ b/plugins/python/web3_subhandler.c
@@ -192,12 +192,12 @@ int uwsgi_response_subhandler_web3(struct wsgi_request *wsgi_req) {
UWSGI_RELEASE_GIL
return UWSGI_AGAIN;
}
+#endif
}
else {
uwsgi_log("invalid Web3 response.\n");
goto clear;
}
-#endif
}