You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2008/02/21 17:04:43 UTC
svn commit: r629840 -
/xerces/c/trunk/src/xercesc/util/NetAccessors/WinSock/BinHTTPURLInputStream.cpp
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: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org