diff options
Diffstat (limited to 'src/fs/gnunet-service-fs_indexing.c')
-rw-r--r-- | src/fs/gnunet-service-fs_indexing.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/fs/gnunet-service-fs_indexing.c b/src/fs/gnunet-service-fs_indexing.c index 60dd1c131..7bd8316ab 100644 --- a/src/fs/gnunet-service-fs_indexing.c +++ b/src/fs/gnunet-service-fs_indexing.c | |||
@@ -109,9 +109,8 @@ write_index_list () | |||
109 | if (GNUNET_OK != | 109 | if (GNUNET_OK != |
110 | GNUNET_CONFIGURATION_get_value_filename (cfg, "FS", "INDEXDB", &fn)) | 110 | GNUNET_CONFIGURATION_get_value_filename (cfg, "FS", "INDEXDB", &fn)) |
111 | { | 111 | { |
112 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 112 | GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |
113 | _("Configuration option `%s' in section `%s' missing.\n"), | 113 | "fs", "INDEXDB"); |
114 | "INDEXDB", "FS"); | ||
115 | return; | 114 | return; |
116 | } | 115 | } |
117 | wh = GNUNET_BIO_write_open (fn); | 116 | wh = GNUNET_BIO_write_open (fn); |
@@ -159,9 +158,8 @@ read_index_list () | |||
159 | if (GNUNET_OK != | 158 | if (GNUNET_OK != |
160 | GNUNET_CONFIGURATION_get_value_filename (cfg, "FS", "INDEXDB", &fn)) | 159 | GNUNET_CONFIGURATION_get_value_filename (cfg, "FS", "INDEXDB", &fn)) |
161 | { | 160 | { |
162 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, | 161 | GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR | GNUNET_ERROR_TYPE_BULK, |
163 | _("Configuration option `%s' in section `%s' missing.\n"), | 162 | "fs", "INDEXDB"); |
164 | "INDEXDB", "FS"); | ||
165 | return; | 163 | return; |
166 | } | 164 | } |
167 | if (GNUNET_NO == GNUNET_DISK_file_test (fn)) | 165 | if (GNUNET_NO == GNUNET_DISK_file_test (fn)) |