Hans Leidekker : winhttp/tests: Test a return value (clang).
Module: wine Branch: master Commit: 1549088da0681b675c965b3dd8530e8abb3a85c2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1549088da0681b675c965b3dd8... Author: Hans Leidekker <hans(a)codeweavers.com> Date: Thu Jan 27 11:57:03 2011 +0100 winhttp/tests: Test a return value (clang). --- dlls/winhttp/tests/notification.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c index 6c9142b..7ceede7 100644 --- a/dlls/winhttp/tests/notification.c +++ b/dlls/winhttp/tests/notification.c @@ -295,6 +295,7 @@ static void test_redirect( void ) setup_test( &info, winhttp_send_request, __LINE__ ); ret = WinHttpSendRequest( req, NULL, 0, NULL, 0, 0, 0 ); + ok(ret, "failed to send request %u\n", GetLastError()); setup_test( &info, winhttp_receive_response, __LINE__ ); ret = WinHttpReceiveResponse( req, NULL );
participants (1)
-
Alexandre Julliard