diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-09-26 16:26:29 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-09-26 16:26:29 +0000 |
commit | 3b34a932a81d1acb7ff045278d6511095acd8c62 (patch) | |
tree | 8fb689d2d53469239185d7a07c6819d7c19f8fd3 /src/regex | |
parent | 098c35b88e17e1af20f2411ae049dc9cf84f7b2e (diff) | |
download | gnunet-3b34a932a81d1acb7ff045278d6511095acd8c62.tar.gz gnunet-3b34a932a81d1acb7ff045278d6511095acd8c62.zip |
- more feedback regarding shutdown
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/gnunet-regex-profiler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c index 343019347..d690ce1bf 100644 --- a/src/regex/gnunet-regex-profiler.c +++ b/src/regex/gnunet-regex-profiler.c | |||
@@ -596,9 +596,11 @@ stats_cb (void *cls, | |||
596 | peer_cnt++; | 596 | peer_cnt++; |
597 | peer = &peers[peer_cnt]; | 597 | peer = &peers[peer_cnt]; |
598 | 598 | ||
599 | fprintf (stderr, "s"); | ||
599 | if (peer_cnt == num_peers) | 600 | if (peer_cnt == num_peers) |
600 | { | 601 | { |
601 | struct GNUNET_TIME_Relative delay = { 100 }; | 602 | struct GNUNET_TIME_Relative delay = { 100 }; |
603 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "\nCollecting stats finished. Shutting down.\n"); | ||
602 | shutdown_task = GNUNET_SCHEDULER_add_delayed (delay, &do_shutdown, NULL); | 604 | shutdown_task = GNUNET_SCHEDULER_add_delayed (delay, &do_shutdown, NULL); |
603 | result = GNUNET_OK; | 605 | result = GNUNET_OK; |
604 | } | 606 | } |
@@ -795,7 +797,7 @@ regex_found_handler (void *cls, | |||
795 | search_timeout_task = GNUNET_SCHEDULER_NO_TASK; | 797 | search_timeout_task = GNUNET_SCHEDULER_NO_TASK; |
796 | } | 798 | } |
797 | 799 | ||
798 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Collecting stats and shutting down.\n"); | 800 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Collecting stats.\n"); |
799 | GNUNET_SCHEDULER_add_now (&do_collect_stats, NULL); | 801 | GNUNET_SCHEDULER_add_now (&do_collect_stats, NULL); |
800 | } | 802 | } |
801 | } | 803 | } |