https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4918271a3c24755b0bba5…
commit 4918271a3c24755b0bba5c48576851d661b38b4d
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Wed Dec 12 20:24:07 2018 +0100
Commit: Robert Naumann <gonzomdx(a)gmail.com>
CommitDate: Wed Dec 12 20:24:07 2018 +0100
[WS2_32_APITEST] Fix 'inialialization' typo, in comments (#1119)
---
modules/rostests/apitests/ws2_32/WSAAsync.c | 8 ++++----
modules/rostests/apitests/ws2_32/nonblocking.c | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/rostests/apitests/ws2_32/WSAAsync.c
b/modules/rostests/apitests/ws2_32/WSAAsync.c
index 6d784f1e16..13db2219ea 100644
--- a/modules/rostests/apitests/ws2_32/WSAAsync.c
+++ b/modules/rostests/apitests/ws2_32/WSAAsync.c
@@ -91,13 +91,13 @@ START_TEST(WSAAsync)
server_addr_in.sin_port = htons(SVR_PORT);
memcpy(&server_addr_in.sin_addr.S_un.S_addr, ent->h_addr_list[0], 4);
- // server inialialization
+ // Server initialization.
trace("Initializing server and client connections ...\n");
ok(bind(ServerSocket, (struct sockaddr*)&server_addr_in, sizeof(server_addr_in))
== 0, "ERROR: server bind failed\n");
ok(ioctlsocket(ServerSocket, FIONBIO, &ulValue) == 0, "ERROR: server
ioctlsocket FIONBIO failed\n");
ok(WSAEventSelect(ServerSocket, ServerEvent, FD_ACCEPT | FD_CLOSE) == 0, "ERROR:
server accept EventSelect failed\n");
- // client inialialization
+ // Client initialization.
ok(WSAEventSelect(ClientSocket, ClientEvent, FD_CONNECT | FD_CLOSE) == 0,
"ERROR: client EventSelect failed\n");
ok(ioctlsocket(ClientSocket, FIONBIO, &ulValue) == 0, "ERROR: client
ioctlsocket FIONBIO failed\n");
@@ -193,12 +193,12 @@ START_TEST(WSAAsync)
server_addr_in.sin_port = htons(SVR_PORT);
memcpy(&server_addr_in.sin_addr.S_un.S_addr, ent->h_addr_list[0], 4);
- // server inialialization
+ // Server initialization.
trace("Initializing server and client connections ...\n");
ok(bind(ServerSocket, (struct sockaddr*)&server_addr_in, sizeof(server_addr_in))
== 0, "ERROR: server bind failed\n");
ok(ioctlsocket(ServerSocket, FIONBIO, &ulValue) == 0, "ERROR: server
ioctlsocket FIONBIO failed\n");
- // client inialialization
+ // Client initialization.
ok(ioctlsocket(ClientSocket, FIONBIO, &ulValue) == 0, "ERROR: client
ioctlsocket FIONBIO failed\n");
// listen
diff --git a/modules/rostests/apitests/ws2_32/nonblocking.c
b/modules/rostests/apitests/ws2_32/nonblocking.c
index 29e6e38ac1..31db502f23 100644
--- a/modules/rostests/apitests/ws2_32/nonblocking.c
+++ b/modules/rostests/apitests/ws2_32/nonblocking.c
@@ -58,14 +58,14 @@ START_TEST(nonblocking)
server_addr_in.sin_addr.s_addr = INADDR_ANY;
server_addr_in.sin_port = htons(SVR_PORT);
- // server inialialization
+ // Server initialization.
trace("Initializing server and client connections ...\n");
err = bind(ServerSocket, (struct sockaddr*)&server_addr_in,
sizeof(server_addr_in));
ok(err == 0, "ERROR: server bind failed\n");
err = ioctlsocket(ServerSocket, FIONBIO, &ulValue);
ok(err == 0, "ERROR: server ioctlsocket FIONBIO failed\n");
- // client inialialization
+ // Client initialization.
err = ioctlsocket(ClientSocket, FIONBIO, &ulValue);
ok(err == 0, "ERROR: client ioctlsocket FIONBIO failed\n");