diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:01:04 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:01:04 +0000 |
commit | 383eec1895fff4a83f26bb8244d86571dd5baef9 (patch) | |
tree | dc6eccf68932c71785ee86d688ebebeda2ac4025 /src/fs/gnunet-service-fs_push.c | |
parent | 195267a6ac380d106d9409aa296885251d102c8e (diff) | |
download | gnunet-383eec1895fff4a83f26bb8244d86571dd5baef9.tar.gz gnunet-383eec1895fff4a83f26bb8244d86571dd5baef9.zip |
reducing error messages about missing configuration options by introducing new helper functions to print them uniformly
Diffstat (limited to 'src/fs/gnunet-service-fs_push.c')
-rw-r--r-- | src/fs/gnunet-service-fs_push.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index aaf7ca8a3..936cf5164 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c | |||
@@ -624,10 +624,9 @@ GSF_push_init_ () | |||
624 | GNUNET_CONFIGURATION_get_value_time (GSF_cfg, "fs", "MIN_MIGRATION_DELAY", | 624 | GNUNET_CONFIGURATION_get_value_time (GSF_cfg, "fs", "MIN_MIGRATION_DELAY", |
625 | &min_migration_delay)) | 625 | &min_migration_delay)) |
626 | { | 626 | { |
627 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 627 | GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_WARNING, |
628 | _ | 628 | "fs", "MIN_MIGRATION_DELAY", |
629 | ("Invalid value specified for option `%s' in section `%s', content pushing disabled\n"), | 629 | _("time required, content pushing disabled")); |
630 | "MIN_MIGRATION_DELAY", "fs"); | ||
631 | return; | 630 | return; |
632 | } | 631 | } |
633 | consider_gathering (); | 632 | consider_gathering (); |