aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-03-20 09:53:54 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-03-20 09:53:54 +0000
commita950fe525e7be5b06cffca53c79f318d476d0b98 (patch)
treeafb4c3fe3191c79a5f3adb06a9be8308e24d79b7 /src/nse
parent9e64a03e8979bd9139f3ccf6222f24fe541cda9e (diff)
downloadgnunet-a950fe525e7be5b06cffca53c79f318d476d0b98.tar.gz
gnunet-a950fe525e7be5b06cffca53c79f318d476d0b98.zip
- fix
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-nse-profiler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c
index 6f5f6f206..8f3bc6db2 100644
--- a/src/nse/gnunet-nse-profiler.c
+++ b/src/nse/gnunet-nse-profiler.c
@@ -620,7 +620,7 @@ finish_round (void *cls,
620 char buf[1024]; 620 char buf[1024];
621 size_t buf_len; 621 size_t buf_len;
622 622
623 if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN && tc->reason)) 623 if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason))
624 return; 624 return;
625 LOG (GNUNET_ERROR_TYPE_INFO, "Have %u connections\n", total_connections); 625 LOG (GNUNET_ERROR_TYPE_INFO, "Have %u connections\n", total_connections);
626 if (NULL != data_file) 626 if (NULL != data_file)
@@ -732,7 +732,7 @@ static void
732next_round (void *cls, 732next_round (void *cls,
733 const struct GNUNET_SCHEDULER_TaskContext *tc) 733 const struct GNUNET_SCHEDULER_TaskContext *tc)
734{ 734{
735 if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN && tc->reason)) 735 if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason))
736 return; 736 return;
737 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "disconnecting nse service of peers\n"); 737 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "disconnecting nse service of peers\n");
738 current_round++; 738 current_round++;