From 233ba1fa13ec6a6e2f7b7ed2b7e5b66e9873038a Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Tue, 14 Jul 2020 14:05:51 -0400 Subject: [PATCH] doce: Improve error message --- runtime/src/sandbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/sandbox.c b/runtime/src/sandbox.c index bbdb084..5ec4149 100644 --- a/runtime/src/sandbox.c +++ b/runtime/src/sandbox.c @@ -80,7 +80,7 @@ sandbox_receive_and_parse_client_request(struct sandbox *sandbox) 0); if (r <= 0) { if (r < 0) perror("Error reading request data from client socket"); - if (r == 0) perror("No data to reach from client socket"); + if (r == 0) perror("Client unexpectedly returned zero bytes"); return r; } while (r > 0) {