inetmib1/tests: Fix duplicate expressions in if condition.

Michael Stefaniuc mstefani at redhat.de
Fri Mar 26 07:13:04 CDT 2010


---
The WTB loves this patch (job 1203).

 dlls/inetmib1/tests/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/inetmib1/tests/main.c b/dlls/inetmib1/tests/main.c
index 158e23c..cc0e56f 100644
--- a/dlls/inetmib1/tests/main.c
+++ b/dlls/inetmib1/tests/main.c
@@ -189,8 +189,8 @@ static void testQuery(void)
             vars[2].name.idLength))
             moreData = FALSE;
         else if (!SnmpUtilOidCmp(&vars[0].name, &vars2[0].name) ||
-         !SnmpUtilOidCmp(&vars[0].name, &vars2[0].name) ||
-         !SnmpUtilOidCmp(&vars[0].name, &vars2[0].name))
+         !SnmpUtilOidCmp(&vars[1].name, &vars2[1].name) ||
+         !SnmpUtilOidCmp(&vars[2].name, &vars2[2].name))
         {
             /* If the OID isn't modified, the function isn't implemented on this
              * platform, skip the remaining tests.
-- 
1.7.0.2



More information about the wine-patches mailing list