summaryrefslogtreecommitdiffhomepage
path: root/NetEx/NetAddr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NetEx/NetAddr.cpp')
-rw-r--r--NetEx/NetAddr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NetEx/NetAddr.cpp b/NetEx/NetAddr.cpp
index ea26f0a..c550f68 100644
--- a/NetEx/NetAddr.cpp
+++ b/NetEx/NetAddr.cpp
@@ -51,7 +51,7 @@ NetAddr::NetAddr(const char* host_name, WORD p)
if (isdigit(*host_name)) {
DWORD a = inet_addr(host_name);
- h = gethostbyaddr((const char*) &a, 4, AF_INET);
+ h = gethostbyaddr((const char*) &a, 4, AF_INET);
}
else {
h = gethostbyname(host_name);