From 54c61f3869a02f452b9295427cf77edbdee6b710 Mon Sep 17 00:00:00 2001 From: nandika Date: Thu, 27 Dec 2012 06:12:03 +0000 Subject: Fixed warning with -Werror git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426127 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/common/http_simple_response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/transport/http/common/http_simple_response.c b/src/core/transport/http/common/http_simple_response.c index 74acb80..2ecdd75 100644 --- a/src/core/transport/http/common/http_simple_response.c +++ b/src/core/transport/http/common/http_simple_response.c @@ -515,7 +515,7 @@ axis2_http_simple_response_get_body_bytes( break; } write = axutil_stream_write(tmp_stream, env, buf, read); - if(read < (AXIS2_HTTP_SIMPLE_RESPONSE_READ_SIZE - 1)) + if(write < (AXIS2_HTTP_SIMPLE_RESPONSE_READ_SIZE - 1)) { break; } -- cgit v1.1-32-gdbae