diff options
Diffstat (limited to 'src/datastore/plugin_datastore_sqlite.c')
-rw-r--r-- | src/datastore/plugin_datastore_sqlite.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/datastore/plugin_datastore_sqlite.c b/src/datastore/plugin_datastore_sqlite.c index 40b4de33e..54414a8b0 100644 --- a/src/datastore/plugin_datastore_sqlite.c +++ b/src/datastore/plugin_datastore_sqlite.c | |||
@@ -228,10 +228,8 @@ database_setup (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
228 | GNUNET_CONFIGURATION_get_value_filename (cfg, "datastore-sqlite", | 228 | GNUNET_CONFIGURATION_get_value_filename (cfg, "datastore-sqlite", |
229 | "FILENAME", &afsdir)) | 229 | "FILENAME", &afsdir)) |
230 | { | 230 | { |
231 | GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR, "sqlite", | 231 | GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, |
232 | _ | 232 | "datastore-sqlite", "FILENAME"); |
233 | ("Option `%s' in section `%s' missing in configuration!\n"), | ||
234 | "FILENAME", "datastore-sqlite"); | ||
235 | return GNUNET_SYSERR; | 233 | return GNUNET_SYSERR; |
236 | } | 234 | } |
237 | if (GNUNET_OK != GNUNET_DISK_file_test (afsdir)) | 235 | if (GNUNET_OK != GNUNET_DISK_file_test (afsdir)) |