gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36107 - gnunet/src/rps


From: gnunet
Subject: [GNUnet-SVN] r36107 - gnunet/src/rps
Date: Wed, 22 Jul 2015 11:37:16 +0200

Author: ch3
Date: 2015-07-22 11:37:16 +0200 (Wed, 22 Jul 2015)
New Revision: 36107

Modified:
   gnunet/src/rps/gnunet-service-rps.c
Log:
log missing config

Modified: gnunet/src/rps/gnunet-service-rps.c
===================================================================
--- gnunet/src/rps/gnunet-service-rps.c 2015-07-22 03:11:43 UTC (rev 36106)
+++ gnunet/src/rps/gnunet-service-rps.c 2015-07-22 09:37:16 UTC (rev 36107)
@@ -2743,17 +2743,19 @@
                                                         "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;
   }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]