GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
cbData->section = section;
printf ("\nSection: %s\n", section);
}
- printf ("%s = %s\n", option, value);
+ printf ("%s = %s\n", option, abs_value);
#endif
default:
break;
GNUNET_CONFIGURATION_destroy (cfg);
return 1;
}
- if ((GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING", "WEAKRANDOM",
- &c))
- || (0 != strcmp (c, "YES")))
+ if (GNUNET_OK !=
+ GNUNET_CONFIGURATION_get_value_string (cfg, "TESTING", "WEAKRANDOM",
+ &c))
+ {
+ GNUNET_break (0);
+ GNUNET_CONFIGURATION_destroy (cfg);
+ return 1;
+ }
+ if (0 != strcmp (c, "YES"))
{
GNUNET_break (0);
+ GNUNET_free (c);
GNUNET_CONFIGURATION_destroy (cfg);
return 1;
}
+
GNUNET_free (c);
GNUNET_CONFIGURATION_destroy (cfg);