itss/tests: Use FAILED instead of !SUCCEEDED.
Michael Stefaniuc
mstefani at redhat.de
Tue Oct 7 18:35:16 CDT 2008
---
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;
--
1.6.0.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081008/9e958334/attachment-0001.pgp
More information about the wine-patches
mailing list