aboutsummaryrefslogtreecommitdiff
path: root/src/util/configuration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/configuration.c')
-rw-r--r--src/util/configuration.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/configuration.c b/src/util/configuration.c
index 41a4e1975..eb86d0496 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -309,7 +309,7 @@ GNUNET_CONFIGURATION_write (struct GNUNET_CONFIGURATION_Handle *cfg,
309 sec = cfg->sections; 309 sec = cfg->sections;
310 while (sec != NULL) 310 while (sec != NULL)
311 { 311 {
312 if (0 > fprintf (fp, "[%s]\n", sec->name)) 312 if (0 > FPRINTF (fp, "[%s]\n", sec->name))
313 { 313 {
314 error = 1; 314 error = 1;
315 break; 315 break;
@@ -327,7 +327,7 @@ GNUNET_CONFIGURATION_write (struct GNUNET_CONFIGURATION_Handle *cfg,
327 pos[0] = '\\'; 327 pos[0] = '\\';
328 pos[1] = 'n'; 328 pos[1] = 'n';
329 } 329 }
330 if (0 > fprintf (fp, "%s = %s\n", ent->key, val)) 330 if (0 > FPRINTF (fp, "%s = %s\n", ent->key, val))
331 { 331 {
332 error = 1; 332 error = 1;
333 GNUNET_free (val); 333 GNUNET_free (val);
@@ -339,7 +339,7 @@ GNUNET_CONFIGURATION_write (struct GNUNET_CONFIGURATION_Handle *cfg,
339 } 339 }
340 if (error != 0) 340 if (error != 0)
341 break; 341 break;
342 if (0 > fprintf (fp, "\n")) 342 if (0 > FPRINTF (fp, "%s\n", ""))
343 { 343 {
344 error = 1; 344 error = 1;
345 break; 345 break;