summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-04-12 22:13:05 +0000
committerglx <glx@openttd.org>2009-04-12 22:13:05 +0000
commit532fca65eff243a10d66e381947a7d8a0979718c (patch)
treeb2c491beb4353eb958496d136d30f6b815064837
parenteaa98482e4c4436d159f69290b0f637144508f9e (diff)
downloadopenttd-532fca65eff243a10d66e381947a7d8a0979718c.tar.xz
(svn r16050) -Fix (r15933): little typo causing OTTDfreeaddrinfo to use the fallback even when freeaddrinfo is available
-rw-r--r--src/network/core/os_abstraction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h
index 1a4bc1691..d44277d7d 100644
--- a/src/network/core/os_abstraction.h
+++ b/src/network/core/os_abstraction.h
@@ -98,7 +98,7 @@ static inline void OTTDfreeaddrinfo(struct addrinfo *ai)
if (ai == NULL) return;
if (first_time) {
- LoadLibraryList((Function*)&freeaddrinfo, "ws2_32.dll\freeaddrinfo\0\0");
+ LoadLibraryList((Function*)&freeaddrinfo, "ws2_32.dll\0freeaddrinfo\0\0");
first_time = false;
}