From 83c0fcd26aabf74302374160b04d4578c22e91b8 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Sun, 23 Aug 2020 14:58:04 -0400 Subject: [PATCH] fix: correct so compiles on USE_HTTP_UVIO --- runtime/src/sandbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/src/sandbox.c b/runtime/src/sandbox.c index 0284f0a..70a3d36 100644 --- a/runtime/src/sandbox.c +++ b/runtime/src/sandbox.c @@ -84,6 +84,7 @@ sandbox_receive_and_parse_client_request(struct sandbox *sandbox) assert(sandbox->module->max_request_size > 0); assert(sandbox->request_response_data_length == 0); + int rc = 0; #ifndef USE_HTTP_UVIO @@ -118,7 +119,7 @@ sandbox_receive_and_parse_client_request(struct sandbox *sandbox) worker_thread_process_io(); #endif - int rc = 0; + rc = 0; done: return rc; eagain: