summaryrefslogtreecommitdiff
path: root/src/GetHost.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GetHost.c')
-rw-r--r--src/GetHost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GetHost.c b/src/GetHost.c
index 91673b8..ca7bed5 100644
--- a/src/GetHost.c
+++ b/src/GetHost.c
@@ -61,7 +61,7 @@ XmuGetHostname(char *buf, int maxlen)
#ifdef WIN32
static WSADATA wsadata;
- if (!wsadata.wVersion && WSAStartup(MAKEWORD(1,1), &wsadata))
+ if (!wsadata.wVersion && WSAStartup(MAKEWORD(2,2), &wsadata))
return -1;
#endif