From: Lauri Kenttä Subject: [PATCH 4/4] Make sure to use a return value. (LLVM/Clang) Message-Id: <1307738320-26035-4-git-send-email-lauri.kentta@gmail.com> Date: Fri, 10 Jun 2011 23:38:40 +0300 --- 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