André Hentschel : ws2_32: Fix test message.

Alexandre Julliard julliard at winehq.org
Thu Jul 22 12:09:18 CDT 2010


Module: wine
Branch: master
Commit: 6c144d06fe8ee504db1244926c71ad63faada2c7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6c144d06fe8ee504db1244926c71ad63faada2c7

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jul 21 17:24:17 2010 +0200

ws2_32: Fix test message.

---

 dlls/ws2_32/tests/sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 9217913..19d29bf 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -3190,7 +3190,7 @@ static void test_events(int useMessages)
         bret = GetOverlappedResult((HANDLE)src, &ov, &bytesReturned, FALSE);
         ok((bret && bytesReturned == 1) || broken(!bret && GetLastError() == ERROR_IO_INCOMPLETE) /* win9x */,
            "Got %d instead of 1 (%d - %d)\n", bytesReturned, bret, GetLastError());
-        ok(buffer[0] == '2', "Got %c instead of 2\n", buffer[1]);
+        ok(buffer[0] == '2', "Got %c instead of 2\n", buffer[0]);
     }
     else if (dwRet == WAIT_TIMEOUT)
     {




More information about the wine-cvs mailing list