This commit is contained in:
2021-05-11 22:38:56 +02:00
parent 655b76f379
commit 163587cdbc

View File

@@ -9,10 +9,10 @@ SOCKET sock;
bool startUp() bool startUp()
{ {
WSADATA wsa_data; WSADATA wsa_data;
auto wasResult = WSAStartup(MAKEWORD(2, 2), &wsa_data); auto wsaResult = WSAStartup(MAKEWORD(2, 2), &wsa_data);
if (wasResult != 0) if (wsaResult != 0)
{ {
printf("WSAStartup error: %d\n", wasResult); printf("WSAStartup error: %d\n", wsaResult);
return false; return false;
} }