From b0af1f800b900f53e4a338e15c6bcc40939e663c Mon Sep 17 00:00:00 2001 From: "roberto@oneiric64" Date: Sat, 26 Nov 2011 18:39:44 +0100 Subject: [PATCH] fixed a bug in #ifdef for pump/web3 spotted by riccardo --- plugins/python/pump_subhandler.c | 2 +- plugins/python/web3_subhandler.c | 2 +- 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 }