summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar nandika2012-12-27 06:12:03 +0000
committerGravatar nandika2012-12-27 06:12:03 +0000
commit54c61f3869a02f452b9295427cf77edbdee6b710 (patch)
tree8efa743dcdbdd2307f66d5efa7e8a2643f5276ff
parent880434e6259b8eee7556bb7f602e9b34afa5f893 (diff)
downloadaxis2c-54c61f3869a02f452b9295427cf77edbdee6b710.tar.gz
axis2c-54c61f3869a02f452b9295427cf77edbdee6b710.tar.bz2
Fixed warning with -Werror
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1426127 13f79535-47bb-0310-9956-ffa450edef68
-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;
}