summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2021-09-18 01:26:27 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2021-09-28 19:29:29 +0200
commit7a0c160473a930e3479d38151580736a5dba7dce (patch)
treef328964b9dadb7f3578c9c874a722c214c7608b0
parentc2ea04f92b00b6271627cb218647527b5a50f2fc (diff)
downloadcurl-7a0c160473a930e3479d38151580736a5dba7dce.tar.gz
externalsocket: use WinSock 2.2
That's the only version we support. Closes https://github.com/curl/curl/pull/7778
-rw-r--r--docs/examples/externalsocket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/externalsocket.c b/docs/examples/externalsocket.c
index bb29b0e44..292a59621 100644
--- a/docs/examples/externalsocket.c
+++ b/docs/examples/externalsocket.c
@@ -97,7 +97,7 @@ int main(void)
#ifdef WIN32
WSADATA wsaData;
- int initwsa = WSAStartup(MAKEWORD(2, 0), &wsaData);
+ int initwsa = WSAStartup(MAKEWORD(2, 2), &wsaData);
if(initwsa) {
printf("WSAStartup failed: %d\n", initwsa);
return 1;