projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9282f98
)
[WBEMPROX]
author
Thomas Faber
<thomas.faber@reactos.org>
Thu, 1 May 2014 04:22:06 +0000
(
04:22
+0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Thu, 1 May 2014 04:22:06 +0000
(
04:22
+0000)
- Fix order of operations for assignment in class_object_Next. Patch by Víctor Martínez
CORE-8116 #resolve
svn path=/trunk/; revision=63086
reactos/dll/win32/wbemprox/class.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/wbemprox/class.c
b/reactos/dll/win32/wbemprox/class.c
index
5d2a523
..
aa51816
100644
(file)
--- a/
reactos/dll/win32/wbemprox/class.c
+++ b/
reactos/dll/win32/wbemprox/class.c
@@
-507,7
+507,7
@@
static HRESULT WINAPI class_object_Next(
TRACE("%p, %08x, %p, %p, %p, %p\n", iface, lFlags, strName, pVal, pType, plFlavor);
if (!(property = get_property_name( co->name, co->index_property ))) return WBEM_S_NO_MORE_DATA;
- if ((hr = get_propval( view, co->index, property, pVal, pType, plFlavor )
!= S_OK)
)
+ if ((hr = get_propval( view, co->index, property, pVal, pType, plFlavor )
) != S_OK
)
{
SysFreeString( property );
return hr;