diff options
author | roberto@oneiric64 <roberto@oneiric64> | 2011-11-26 18:39:44 +0100 |
---|---|---|
committer | roberto@oneiric64 <roberto@oneiric64> | 2011-11-26 18:39:44 +0100 |
commit | b0af1f800b900f53e4a338e15c6bcc40939e663c (patch) | |
tree | 584e00703ab6af970f14cac075723d4f4d9156c4 | |
parent | 543271e856b9b926f29f74b6b3ed627757e75de5 (diff) | |
download | uwsgi-1.0-rc7.tar.gz |
fixed a bug in #ifdef for pump/web3 spotted by riccardo1.0-rc7
-rw-r--r-- | plugins/python/pump_subhandler.c | 2 | ||||
-rw-r--r-- | 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 } |