diff options
Diffstat (limited to 'libjava/java/net/natInetAddressWin32.cc')
-rw-r--r-- | libjava/java/net/natInetAddressWin32.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/net/natInetAddressWin32.cc b/libjava/java/net/natInetAddressWin32.cc index 42c7d7d..82c1e6f 100644 --- a/libjava/java/net/natInetAddressWin32.cc +++ b/libjava/java/net/natInetAddressWin32.cc @@ -60,7 +60,7 @@ java::net::InetAddress::lookup (jstring host, java::net::InetAddress* iaddr, // FIXME: this is insufficient if some other piece of code calls // this gethostbyname. - JvSynchronize sync (java::net::InetAddress::localhostAddress); + JvSynchronize sync (java::net::InetAddress::loopbackAddress); hptr = gethostbyname (hostname); } else @@ -87,7 +87,7 @@ java::net::InetAddress::lookup (jstring host, java::net::InetAddress* iaddr, // FIXME: this is insufficient if some other piece of code calls // this gethostbyaddr. - JvSynchronize sync (java::net::InetAddress::localhostAddress); + JvSynchronize sync (java::net::InetAddress::loopbackAddress); hptr = gethostbyaddr (val, len, type); } if (hptr != NULL) |