Author: nandika
Date: Thu Dec 27 06:12:03 2012
New Revision: 1426127
URL: http://svn.apache.org/viewvc?rev=1426127&view=rev
Log:
Fixed warning with -Werror
Modified:
axis/axis2/c/core/trunk/src/core/transport/http/common/http_simple_response.c
Modified:
axis/axis2/c/core/trunk/src/core/transport/http/common/http_simple_response.c
URL:
http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/common/http_simple_response.c?rev=1426127&r1=1426126&r2=1426127&view=diff
==============================================================================
---
axis/axis2/c/core/trunk/src/core/transport/http/common/http_simple_response.c
(original)
+++
axis/axis2/c/core/trunk/src/core/transport/http/common/http_simple_response.c
Thu Dec 27 06:12:03 2012
@@ -515,7 +515,7 @@ axis2_http_simple_response_get_body_byte
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;
}