[PATCH] ws2_32/tests: Fix acceptex typo, in error strings.

Serge Gautherie winehq-git_serge_180711 at gautherie.fr
Mon May 11 05:35:17 CDT 2020


Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
---
 dlls/ws2_32/tests/sock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index b17f076..92337e1 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -8484,7 +8484,7 @@ todo_wine
 
     iret = connect(acceptor,  (struct sockaddr*)&bindAddress, sizeof(bindAddress));
     todo_wine ok(iret == SOCKET_ERROR && WSAGetLastError() == WSAEINVAL,
-       "connecting to acceptex acceptor succeeded? return %d + errno %d\n", iret, WSAGetLastError());
+       "connecting to AcceptEx acceptor succeeded? return %d + errno %d\n", iret, WSAGetLastError());
     if (!iret || (iret == SOCKET_ERROR && WSAGetLastError() == WSAEWOULDBLOCK)) {
         /* We need to cancel this call, otherwise things fail */
         closesocket(acceptor);
@@ -8646,7 +8646,7 @@ todo_wine
         fd_set fds_openaccept = fds_accept, fds_opensend = fds_send;
 
         wsa_ok ( ( select ( 0, &fds_openaccept, &fds_opensend, NULL, &timeout ) ), SOCKET_ERROR !=,
-            "acceptex test(%d): could not select on socket, errno %d\n" );
+            "AcceptEx test(%d): could not select on socket, errno %d\n" );
 
         /* check for incoming requests */
         if ( FD_ISSET ( listener, &fds_openaccept ) ) {
@@ -8703,7 +8703,7 @@ todo_wine
     iret = recv( acceptor, buffer, 2, 0);
     ok(iret == 1, "Failed to get data, %d, errno: %d\n", iret, WSAGetLastError());
 
-    ok(buffer[0] == '1', "The wrong first client was accepted by acceptex: %c != 1\n", buffer[0]);
+    ok(buffer[0] == '1', "The wrong first client was accepted by AcceptEx: %c != 1\n", buffer[0]);
 
     closesocket(connector);
     connector = INVALID_SOCKET;
-- 
2.10.0.windows.1




More information about the wine-devel mailing list