diff options
Diffstat (limited to 'src/util/test_configuration.c')
-rw-r--r-- | src/util/test_configuration.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/util/test_configuration.c b/src/util/test_configuration.c index 6747c73cb..fd2b91bfb 100644 --- a/src/util/test_configuration.c +++ b/src/util/test_configuration.c | |||
@@ -492,15 +492,22 @@ main (int argc, char *argv[]) | |||
492 | GNUNET_CONFIGURATION_destroy (cfg); | 492 | GNUNET_CONFIGURATION_destroy (cfg); |
493 | return 1; | 493 | return 1; |
494 | } | 494 | } |
495 | if ((GNUNET_OK != | 495 | if (GNUNET_OK != |
496 | GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING", "WEAKRANDOM", | 496 | GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING", "WEAKRANDOM", |
497 | &c)) | 497 | &c)) |
498 | || (0 != strcmp (c, "YES"))) | 498 | { |
499 | GNUNET_break (0); | ||
500 | GNUNET_CONFIGURATION_destroy (cfg); | ||
501 | return 1; | ||
502 | } | ||
503 | if (0 != strcmp (c, "YES")) | ||
499 | { | 504 | { |
500 | GNUNET_break (0); | 505 | GNUNET_break (0); |
506 | GNUNET_free (c); | ||
501 | GNUNET_CONFIGURATION_destroy (cfg); | 507 | GNUNET_CONFIGURATION_destroy (cfg); |
502 | return 1; | 508 | return 1; |
503 | } | 509 | } |
510 | |||
504 | GNUNET_free (c); | 511 | GNUNET_free (c); |
505 | GNUNET_CONFIGURATION_destroy (cfg); | 512 | GNUNET_CONFIGURATION_destroy (cfg); |
506 | 513 | ||