summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/transport/http/common/http_simple_response.c2
1 files changed, 1 insertions, 1 deletions
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;
}