axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r498068 - /webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
Date Sat, 20 Jan 2007 04:31:13 GMT
Author: nadiramra
Date: Fri Jan 19 20:31:12 2007
New Revision: 498068

URL: http://svn.apache.org/viewvc?view=rev&rev=498068
Log:
Need to convert content length to ebcdic before doing atoi().

Modified:
    webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp

Modified: webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp?view=diff&rev=498068&r1=498067&r2=498068
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp Fri Jan 19 20:31:12 2007
@@ -1535,7 +1535,7 @@
     {
         int   iEOL = m_strReceived.find( ASCII_S_LF, iPosContentLength);
         iPosContentLength += strlen( ASCII_S_CONTENT_LENGTH);
-        m_iContentLength = atoi( m_strReceived.substr( iPosContentLength, iEOL).c_str());
+        m_iContentLength = atoi(PLATFORM_ASCTOSTR (m_strReceived.substr( iPosContentLength,
iEOL).c_str()));
         m_GetBytesState = eSOAPMessageIsNotChunked;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message