aboutsummaryrefslogtreecommitdiff
path: root/src/util/gnunet-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/gnunet-config.c')
-rw-r--r--src/util/gnunet-config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/gnunet-config.c b/src/util/gnunet-config.c
index e1aa94a5c..1d204dd07 100644
--- a/src/util/gnunet-config.c
+++ b/src/util/gnunet-config.c
@@ -61,12 +61,12 @@ static int ret;
61 * @param option name of the option 61 * @param option name of the option
62 * @param value value of the option 62 * @param value value of the option
63 */ 63 */
64static void 64static void
65print_option (void *cls, const char *section, 65print_option (void *cls, const char *section,
66 const char *option, 66 const char *option,
67 const char *value) 67 const char *value)
68{ 68{
69 fprintf (stdout, 69 fprintf (stdout,
70 "%s = %s\n", option, value); 70 "%s = %s\n", option, value);
71} 71}
72 72
@@ -136,11 +136,11 @@ run (void *cls, char *const *args, const char *cfgfile,
136 } 136 }
137 out = GNUNET_CONFIGURATION_dup (cfg); 137 out = GNUNET_CONFIGURATION_dup (cfg);
138 GNUNET_CONFIGURATION_set_value_string (out, section, option, value); 138 GNUNET_CONFIGURATION_set_value_string (out, section, option, value);
139 if (GNUNET_OK != 139 if (GNUNET_OK !=
140 GNUNET_CONFIGURATION_write (out, cfgfile)) 140 GNUNET_CONFIGURATION_write (out, cfgfile))
141 ret = 2; 141 ret = 2;
142 GNUNET_CONFIGURATION_destroy (out); 142 GNUNET_CONFIGURATION_destroy (out);
143 return; 143 return;
144 } 144 }
145} 145}
146 146