Alistair Leslie-Hughes : msxml3: Improved checking of failed case.

Alexandre Julliard julliard at winehq.org
Fri Jun 20 06:22:53 CDT 2008


Module: wine
Branch: master
Commit: 56d5332285069769986e665a44ea68451f67053b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=56d5332285069769986e665a44ea68451f67053b

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Jun 18 21:40:06 2008 +1000

msxml3: Improved checking of failed case.

---

 dlls/msxml3/tests/xmlelem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/tests/xmlelem.c b/dlls/msxml3/tests/xmlelem.c
index 5c80f7c..71d9027 100644
--- a/dlls/msxml3/tests/xmlelem.c
+++ b/dlls/msxml3/tests/xmlelem.c
@@ -287,7 +287,7 @@ static void test_xmlelem_collection(void)
     ok(hr == S_OK || hr == ERROR_URL_NOT_FOUND, "Expected S_OK, got 0x%08x\n", hr);
     SysFreeString(url);
 
-    if(hr == ERROR_URL_NOT_FOUND)
+    if(hr != S_OK)
         goto cleanup;
 
     hr = IXMLDocument_get_root(doc, &element);




More information about the wine-cvs mailing list