Nikolay Sivov : msxml3: Don't force put_nodeValue return value.

Alexandre Julliard julliard at winehq.org
Fri Nov 5 13:47:16 CDT 2010


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Nov  4 19:16:12 2010 +0300

msxml3: Don't force put_nodeValue return value.

---

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

diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c
index 9aafa83..9e8177a 100644
--- a/dlls/msxml3/node.c
+++ b/dlls/msxml3/node.c
@@ -189,7 +189,7 @@ HRESULT node_put_value(xmlnode *This, VARIANT *value)
     hr = node_set_content(This, V_BSTR(&string_value));
     VariantClear(&string_value);
 
-    return S_OK;
+    return hr;
 }
 
 HRESULT node_put_value_escaped(xmlnode *This, VARIANT *value)
@@ -207,7 +207,7 @@ HRESULT node_put_value_escaped(xmlnode *This, VARIANT *value)
     hr = node_set_content_escaped(This, V_BSTR(&string_value));
     VariantClear(&string_value);
 
-    return S_OK;
+    return hr;
 }
 
 static HRESULT get_node(




More information about the wine-cvs mailing list