From 9741b0dd350d467350af541f70c593397ff73fd5 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 1 May 2014 04:22:06 +0000 Subject: [PATCH] =?UTF-8?q?[WBEMPROX]=20-=20Fix=20order=20of=20operations?= =?UTF-8?q?=20for=20assignment=20in=20class=5Fobject=5FNext.=20Patch=20by?= =?UTF-8?q?=20V=C3=ADctor=20Mart=C3=ADnez=20CORE-8116=20#resolve?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=63086 --- reactos/dll/win32/wbemprox/class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/wbemprox/class.c b/reactos/dll/win32/wbemprox/class.c index 5d2a5239a0d..aa51816b278 100644 --- 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;