Michael Stefaniuc : inetmib1/tests: Fix duplicate expressions in if condition.

Alexandre Julliard julliard at winehq.org
Fri Mar 26 12:11:52 CDT 2010


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Mar 26 13:13:04 2010 +0100

inetmib1/tests: Fix duplicate expressions in if condition.

---

 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.




More information about the wine-cvs mailing list