diff options
author | glx <glx@openttd.org> | 2009-04-03 14:01:45 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-04-03 14:01:45 +0000 |
commit | 65d10e66f004de45a86eb9909171a65f448d227f (patch) | |
tree | bf76f148adf317820085bb59d98b1a7cdcea97d1 /src/network/core/address.cpp | |
parent | 5386fe1a1c0a9f04ba40e03d162c1641e0ebd1af (diff) | |
download | openttd-65d10e66f004de45a86eb9909171a65f448d227f.tar.xz |
(svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either
Diffstat (limited to 'src/network/core/address.cpp')
-rw-r--r-- | src/network/core/address.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/address.cpp b/src/network/core/address.cpp index 7d91aa9a4..016489001 100644 --- a/src/network/core/address.cpp +++ b/src/network/core/address.cpp @@ -88,7 +88,7 @@ SOCKET NetworkAddress::Resolve(int family, int socktype, int flags, LoopProc fun int e = getaddrinfo(this->GetHostname(), port_name, &hints, &ai); if (e != 0) { - DEBUG(net, 0, "getaddrinfo failed: %s", gai_strerror(e)); + DEBUG(net, 0, "getaddrinfo failed: %s", FS2OTTD(gai_strerror(e))); return INVALID_SOCKET; } |