From e3e29708ab1a04a7bab722d928baab7bec1b0320 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 17 May 2013 09:34:29 +0000 Subject: - style --- src/nse/gnunet-nse-profiler.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c index 41f12e59d..d55e61e60 100644 --- a/src/nse/gnunet-nse-profiler.c +++ b/src/nse/gnunet-nse-profiler.c @@ -307,7 +307,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) if (GNUNET_YES == shutting_down) return; shutting_down = GNUNET_YES; - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Ending test.\n"); + LOG_DEBUG ("Ending test.\n"); close_monitor_connections (); if (NULL != data_file) { @@ -531,15 +531,14 @@ connect_nse_service () if (0 == connection_limit) return; - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Connecting to nse service of peers\n"); + LOG_DEBUG ("Connecting to nse service of peers\n"); connections = 0; for (i = 0; i < num_peers_in_round[current_round]; i++) { if ((num_peers_in_round[current_round] > connection_limit) && (0 != (i % (num_peers_in_round[current_round] / connection_limit)))) continue; - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "nse-profiler: connecting to nse service of peer %d\n", i); + LOG_DEBUG ("Connecting to nse service of peer %d\n", i); current_peer = GNUNET_malloc (sizeof (struct NSEPeer)); current_peer->daemon = daemons[i]; current_peer->nse_op @@ -707,7 +706,7 @@ next_round (void *cls, { if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason)) return; - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "disconnecting nse service of peers\n"); + LOG_DEBUG ("Disconnecting nse service of peers\n"); current_round++; if (current_round == num_rounds) { @@ -806,7 +805,7 @@ run (void *cls, char *const *args, const char *cfgfile, ok = 1; testing_cfg = GNUNET_CONFIGURATION_dup (cfg); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Starting daemons.\n"); + LOG_DEBUG ("Starting daemons.\n"); if (NULL == num_peer_spec) { fprintf (stderr, "You need to specify the number of peers to run\n"); -- cgit v1.2.3