You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2006/01/17 07:03:28 UTC

svn commit: r369693 - /webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c

Author: samisa
Date: Mon Jan 16 22:03:23 2006
New Revision: 369693

URL: http://svn.apache.org/viewcvs?rev=369693&view=rev
Log:
fixed a bug in read

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c?rev=369693&r1=369692&r2=369693&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_simple_response.c Mon Jan 16 22:03:23 2006
@@ -643,7 +643,7 @@
 			break;
 		}
 		write = AXIS2_STREAM_WRITE(tmp_stream, env, buf, read);
-		if(read < READ_SIZE)
+		if(read < (READ_SIZE -1))
 		{
 			break;
 		}