From e659a78855b8873b16c0891e099aeb814aeb8e89 Mon Sep 17 00:00:00 2001 From: nick Date: Mon, 25 Feb 2013 15:53:19 +0000 Subject: [PATCH] proxy: Fix the return value of a function to match the comment --- src/proxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy.c b/src/proxy.c index 9cf80bb..3c0f363 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -316,7 +316,7 @@ int proxy_run_request_upstream( struct proxier* proxy ) } proxy->rsp_buf_size = rsp_buf_size; - return rsp_buf_size; + return 1; } /* Write an NBD reply back downstream. Return 0 on failure, 1 on success. */