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 pr...@apache.org on 2006/02/23 15:53:18 UTC
svn commit: r380134 -
/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp
Author: prestonf
Date: Thu Feb 23 06:53:15 2006
New Revision: 380134
URL: http://svn.apache.org/viewcvs?rev=380134&view=rev
Log:
Removed the update from this morning (remove whitespace characters from string before processing) as should not be necessary.
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/viewcvs/webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp?rev=380134&r1=380133&r2=380134&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp (original)
+++ webservices/axis/trunk/c/src/transport/axis3/HTTPTransport.cpp Thu Feb 23 06:53:15 2006
@@ -1050,21 +1050,22 @@
/* axtoi( Hex) Is a private method to convert an ascii hex string to an integer.
*/
-int axtoi( char *pcHexStringIn)
+int axtoi( char *pcHexString)
{
int iN = 0; // position in string
int iM = 0; // position in digit[] to shift
int iCount; // loop index
int intValue = 0; // integer value of hex string
int iDigit[32]; // hold values to convert
+/*
char * pcHexString = pcHexStringIn;
- // Remove and whitespace characters from string before processing.
+ // Remove whitespace characters from string before processing.
while( *pcHexString == ' ' || *pcHexString == '\r' || *pcHexString == '\n' || *pcHexString == '\t')
{
pcHexString++;
}
-
+*/
while( iN < 32)
{
if( pcHexString[iN] == '\0')