Bruno Jesus : ws2_32/tests: Fix an ok() call comment.

Alexandre Julliard julliard at winehq.org
Mon Sep 30 16:07:54 CDT 2013


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

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Sat Sep 28 11:57:50 2013 -0300

ws2_32/tests: Fix an ok() call comment.

---

 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 b085f0b..705981d 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -5814,7 +5814,7 @@ static void test_getpeername(void)
 
     sa_len = 0;
     ret = getpeername(sock, (struct sockaddr*)&sa_out, &sa_len);
-    ok(ret == SOCKET_ERROR, "Expected getpeername to return 0, got %d\n", ret);
+    ok(ret == SOCKET_ERROR, "Expected getpeername to return SOCKET_ERROR, got %d\n", ret);
     ok(WSAGetLastError() == WSAEFAULT,
        "Expected WSAGetLastError() to return WSAEFAULT, got %d\n", WSAGetLastError());
 




More information about the wine-cvs mailing list