[PATCH 4/4] Make sure to use a return value. (LLVM/Clang)

Lauri Kenttä lauri.kentta at gmail.com
Fri Jun 10 15:38:40 CDT 2011


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

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index bc030de..5657f98 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -521,6 +521,8 @@ static VOID WINAPI oob_server ( server_params *par )
 
     /* Receive the rest of the out-of-band data and check atmark state */
     n_recvd = do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, n_expected, par->buflen );
+    ok ( n_recvd == n_expected,
+         "oob_server (%x): received less data than expected: %d of %d\n", id, n_recvd, n_expected );
 
     ioctlsocket ( mem->sock[0].s, SIOCATMARK, &atmark );
     ok ( atmark == 0, "oob_server (%x): not at the OOB mark: %i\n", id, atmark );
-- 
1.7.5.2




More information about the wine-patches mailing list