summaryrefslogtreecommitdiffhomepage
path: root/NetEx/NetHost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NetEx/NetHost.cpp')
-rw-r--r--NetEx/NetHost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NetEx/NetHost.cpp b/NetEx/NetHost.cpp
index 03330f0..5cb9e08 100644
--- a/NetEx/NetHost.cpp
+++ b/NetEx/NetHost.cpp
@@ -62,7 +62,7 @@ void NetHost::Init(const char* host_name)
if (isdigit(*host_name)) {
DWORD addr = inet_addr(host_name);
- h = gethostbyaddr((const char*) &addr, 4, AF_INET);
+ h = gethostbyaddr((const char*) &addr, 4, AF_INET);
}
else {
h = gethostbyname(host_name);