[WS2_32_APITEST] Fix 'inialialization' typo, in comments (#1119)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Wed, 12 Dec 2018 19:24:07 +0000 (20:24 +0100)
committerRobert Naumann <gonzomdx@gmail.com>
Wed, 12 Dec 2018 19:24:07 +0000 (20:24 +0100)
modules/rostests/apitests/ws2_32/WSAAsync.c
modules/rostests/apitests/ws2_32/nonblocking.c

index 6d784f1..13db221 100644 (file)
@@ -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
index 29e6e38..31db502 100644 (file)
@@ -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");