diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/configuration.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/configuration.c b/src/util/configuration.c index 1ba9aab05..875a811b3 100644 --- a/src/util/configuration.c +++ b/src/util/configuration.c | |||
@@ -1143,6 +1143,7 @@ GNUNET_CONFIGURATION_serialize (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1143 | return mem; | 1143 | return mem; |
1144 | } | 1144 | } |
1145 | 1145 | ||
1146 | |||
1146 | char * | 1147 | char * |
1147 | GNUNET_CONFIGURATION_serialize_diagnostics (const struct | 1148 | GNUNET_CONFIGURATION_serialize_diagnostics (const struct |
1148 | GNUNET_CONFIGURATION_Handle *cfg) | 1149 | GNUNET_CONFIGURATION_Handle *cfg) |
@@ -1201,7 +1202,7 @@ GNUNET_CONFIGURATION_serialize_diagnostics (const struct | |||
1201 | if (sec->inaccessible) | 1202 | if (sec->inaccessible) |
1202 | { | 1203 | { |
1203 | GNUNET_buffer_write_fstr (&buf, | 1204 | GNUNET_buffer_write_fstr (&buf, |
1204 | "# <section contents inaccessible>\n\n"); | 1205 | "# <section contents inaccessible>\n\n\n"); |
1205 | continue; | 1206 | continue; |
1206 | } | 1207 | } |
1207 | for (struct ConfigEntry *ent = sec->entries; | 1208 | for (struct ConfigEntry *ent = sec->entries; |
@@ -1242,6 +1243,7 @@ GNUNET_CONFIGURATION_serialize_diagnostics (const struct | |||
1242 | return GNUNET_buffer_reap_str (&buf); | 1243 | return GNUNET_buffer_reap_str (&buf); |
1243 | } | 1244 | } |
1244 | 1245 | ||
1246 | |||
1245 | enum GNUNET_GenericReturnValue | 1247 | enum GNUNET_GenericReturnValue |
1246 | GNUNET_CONFIGURATION_write (struct GNUNET_CONFIGURATION_Handle *cfg, | 1248 | GNUNET_CONFIGURATION_write (struct GNUNET_CONFIGURATION_Handle *cfg, |
1247 | const char *filename) | 1249 | const char *filename) |