From: Julius Bünger Date: Wed, 22 Jul 2015 09:37:16 +0000 (+0000) Subject: log missing config X-Git-Tag: initial-import-from-subversion-38251~1606 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9922e0b428d9b3f5b667a7028d4ac24bf71eb3d2;p=oweals%2Fgnunet.git log missing config --- diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index eff4d8294..7a5bf56bf 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -2743,17 +2743,19 @@ run (void *cls, "ROUNDINTERVAL", &round_interval)) { - LOG (GNUNET_ERROR_TYPE_DEBUG, "Failed to read ROUNDINTERVAL from config\n"); + GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, + "RPS", "ROUNDINTERVAL"); GNUNET_SCHEDULER_shutdown (); return; } /* Get initial size of sampler/view from the configuration */ - if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number (cfg, "RPS", - "INITSIZE", - (long long unsigned int *) &sampler_size_est_need)) + if (GNUNET_OK != + GNUNET_CONFIGURATION_get_value_number (cfg, "RPS", "INITSIZE", + (long long unsigned int *) &sampler_size_est_need)) { - LOG (GNUNET_ERROR_TYPE_DEBUG, "Failed to read INITSIZE from config\n"); + GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, + "RPS", "INITSIZE"); GNUNET_SCHEDULER_shutdown (); return; }