aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2015-07-22 09:37:16 +0000
committerJulius Bünger <buenger@mytum.de>2015-07-22 09:37:16 +0000
commit9922e0b428d9b3f5b667a7028d4ac24bf71eb3d2 (patch)
tree16f748358534de9bdbcc9f01ad9686c976d89665 /src
parentac0cb2519b83c79dc57debd19e7f6db57f87a533 (diff)
downloadgnunet-9922e0b428d9b3f5b667a7028d4ac24bf71eb3d2.tar.gz
gnunet-9922e0b428d9b3f5b667a7028d4ac24bf71eb3d2.zip
log missing config
Diffstat (limited to 'src')
-rw-r--r--src/rps/gnunet-service-rps.c12
1 files changed, 7 insertions, 5 deletions
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,
2743 "ROUNDINTERVAL", 2743 "ROUNDINTERVAL",
2744 &round_interval)) 2744 &round_interval))
2745 { 2745 {
2746 LOG (GNUNET_ERROR_TYPE_DEBUG, "Failed to read ROUNDINTERVAL from config\n"); 2746 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
2747 "RPS", "ROUNDINTERVAL");
2747 GNUNET_SCHEDULER_shutdown (); 2748 GNUNET_SCHEDULER_shutdown ();
2748 return; 2749 return;
2749 } 2750 }
2750 2751
2751 /* Get initial size of sampler/view from the configuration */ 2752 /* Get initial size of sampler/view from the configuration */
2752 if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number (cfg, "RPS", 2753 if (GNUNET_OK !=
2753 "INITSIZE", 2754 GNUNET_CONFIGURATION_get_value_number (cfg, "RPS", "INITSIZE",
2754 (long long unsigned int *) &sampler_size_est_need)) 2755 (long long unsigned int *) &sampler_size_est_need))
2755 { 2756 {
2756 LOG (GNUNET_ERROR_TYPE_DEBUG, "Failed to read INITSIZE from config\n"); 2757 GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
2758 "RPS", "INITSIZE");
2757 GNUNET_SCHEDULER_shutdown (); 2759 GNUNET_SCHEDULER_shutdown ();
2758 return; 2760 return;
2759 } 2761 }