Author: amassari
Date: Thu Feb 21 08:04:42 2008
New Revision: 629840

URL: http://svn.apache.org/viewvc?rev=629840&view=rev
Log:
inet_addr was called directly (isntead of using wrap_inet_addr) leading to a 
dependency of the binary on ws2_32.dll

Modified:
    
xerces/c/trunk/src/xercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp

Modified: 
xerces/c/trunk/src/xercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp?rev=629840&r1=629839&r2=629840&view=diff
==============================================================================
--- 
xerces/c/trunk/src/xercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp 
(original)
+++ 
xerces/c/trunk/src/xercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp 
Thu Feb 21 08:04:42 2008
@@ -386,7 +386,7 @@
         if (lookUpHost && 
             ((hostEntPtr = wrap_gethostbyname(hostNameAsCharStar)) == NULL))
         {             
-            unsigned long  numAddress = inet_addr(hostNameAsCharStar);
+            unsigned long  numAddress = wrap_inet_addr(hostNameAsCharStar);
             if (numAddress == INADDR_NONE)
             {
                 // Call WSAGetLastError() to get the error number.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to