Michael Stefaniuc : itss/tests: Use FAILED instead of !SUCCEEDED.
Alexandre Julliard
julliard at winehq.org
Wed Oct 8 08:33:08 CDT 2008
Module: wine
Branch: master
Commit: f67256fb2fdbdf96e4bc3ba5113967e08a53656b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f67256fb2fdbdf96e4bc3ba5113967e08a53656b
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Oct 8 01:35:16 2008 +0200
itss/tests: Use FAILED instead of !SUCCEEDED.
---
dlls/itss/tests/protocol.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/itss/tests/protocol.c b/dlls/itss/tests/protocol.c
index e0edeb0..f93d131 100644
--- a/dlls/itss/tests/protocol.c
+++ b/dlls/itss/tests/protocol.c
@@ -572,7 +572,7 @@ static void test_its_protocol(void)
hres = CoGetClassObject(&CLSID_ITSProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IUnknown, (void**)&unk);
ok(hres == S_OK, "CoGetClassObject failed: %08x\n", hres);
- if(!SUCCEEDED(hres))
+ if(FAILED(hres))
return;
hres = IUnknown_QueryInterface(unk, &IID_IInternetProtocolInfo, (void**)&info);
@@ -630,7 +630,7 @@ static void test_mk_protocol(void)
hres = CoGetClassObject(&CLSID_MkProtocol, CLSCTX_INPROC_SERVER, NULL, &IID_IClassFactory,
(void**)&cf);
ok(hres == S_OK, "CoGetClassObject failed: %08x\n", hres);
- if(!SUCCEEDED(hres))
+ if(FAILED(hres))
return;
cache_file = cache_file1;
More information about the wine-cvs
mailing list