axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r389793 - /webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp
Date Wed, 29 Mar 2006 13:55:04 GMT
Author: dicka
Date: Wed Mar 29 05:54:51 2006
New Revision: 389793

URL: http://svn.apache.org/viewcvs?rev=389793&view=rev
Log:
Fix for AXISCPP-959

It would appear we were not using substring correctly, so instead of getting the message upto
position piSize, we taking the message from.

Modified:
    webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp

Modified: webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp?rev=389793&r1=389792&r2=389793&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp (original)
+++ webservices/axis/trunk/c/src/server/simple_axis_server/SimpleAxisTransport.cpp Wed Mar
29 05:54:51 2006
@@ -171,7 +171,7 @@
     {
 		pBuffer[0] = '\0';
 
-		std::string strToSend = m_strReceived.substr( *piSize - 1);
+		std::string strToSend = m_strReceived.substr(0, *piSize - 1);
 
 		strcat( pBuffer, strToSend.c_str());
 



Mime
View raw message