-code deduplication in rsa sign/verify code
[oweals/gnunet.git] / src / util / test_getopt.c
index f068a6ab0403fe1cfc5897e381102914aa1c1a6c..65c3b5d2ee99bff5380cfc086c848bc321cd36d7 100644 (file)
@@ -89,7 +89,7 @@ testVersion ()
     GNUNET_GETOPT_OPTION_END
   };
 
-  if (-1 != GNUNET_GETOPT_run ("test_getopt", versionoptionlist, 2, myargv))
+  if (0 != GNUNET_GETOPT_run ("test_getopt", versionoptionlist, 2, myargv))
   {
     GNUNET_break (0);
     return 1;
@@ -111,7 +111,7 @@ testAbout ()
     GNUNET_GETOPT_OPTION_END
   };
 
-  if (-1 != GNUNET_GETOPT_run ("test_getopt", aboutoptionlist, 2, myargv))
+  if (0 != GNUNET_GETOPT_run ("test_getopt", aboutoptionlist, 2, myargv))
   {
     GNUNET_break (0);
     return 1;