From: Niels Möller Date: Mon, 21 Nov 2005 22:07:13 +0000 (+0100) Subject: (main): Fixed check for -v option. Spotted by Goran K. X-Git-Tag: nettle_1.14_release_20051205~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=93733cfeaa728a6cd5800d78c7bdb48b2ba6bb65;p=thirdparty%2Fnettle.git (main): Fixed check for -v option. Spotted by Goran K. Rev: src/nettle/testsuite/testutils.c:1.29 --- diff --git a/testsuite/testutils.c b/testsuite/testutils.c index accf8429..bac5afbd 100644 --- a/testsuite/testutils.c +++ b/testsuite/testutils.c @@ -147,7 +147,7 @@ main(int argc, char **argv) { if (argc > 1) { - if (argc == 2 && strcmp(argv[1], "-v")) + if (argc == 2 && !strcmp(argv[1], "-v")) verbose = 1; else {