snmpapi: Fix printf format warnings in tests.

This commit is contained in:
Alexandre Julliard 2007-01-26 13:07:05 +01:00
parent 641abc997c
commit be570f4655
1 changed files with 8 additions and 8 deletions

View File

@ -83,23 +83,23 @@ static void test_SnmpUtilOidToA(void)
ret = SnmpUtilOidToA(&oid2);
ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect2), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n",
ret, expect2, strlen(ret));
ok(!strcmp(ret, expect2), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect2);
ret = SnmpUtilOidToA(&oid3);
ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n",
ret, expect3, strlen(ret));
ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect3);
ret = SnmpUtilOidToA(&oid4);
ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n",
ret, expect3, strlen(ret));
ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect3);
ret = SnmpUtilOidToA(&oid5);
ok(ret != NULL, "SnmpUtilOidToA failed\n");
ok(!strcmp(ret, expect4), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n",
ret, expect4, strlen(ret));
ok(!strcmp(ret, expect4), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n",
ret, expect4);
}
static void test_SnmpUtilAsnAnyCpyFree(void)