diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-22 14:25:23 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2012-10-22 14:25:23 +0000 |
commit | 9ae60ce30ada99a913b4349a4bfff27d09d41287 (patch) | |
tree | 7e6a801c7cdacfde2ecb95e949565a2e682ef898 /src/testbed | |
parent | dae8d22415be1e33a621ab2142a8c73f6a46c837 (diff) | |
download | gnunet-9ae60ce30ada99a913b4349a4bfff27d09d41287.tar.gz gnunet-9ae60ce30ada99a913b4349a4bfff27d09d41287.zip |
fix
Diffstat (limited to 'src/testbed')
-rw-r--r-- | src/testbed/gnunet-testbed-profiler.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testbed/gnunet-testbed-profiler.c b/src/testbed/gnunet-testbed-profiler.c index 166a5580c..c646add7a 100644 --- a/src/testbed/gnunet-testbed-profiler.c +++ b/src/testbed/gnunet-testbed-profiler.c | |||
@@ -620,7 +620,8 @@ register_hosts (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
620 | static void | 620 | static void |
621 | status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int status) | 621 | status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int status) |
622 | { | 622 | { |
623 | GNUNET_SCHEDULER_cancel (abort_task); | 623 | if (GNUNET_SCHEDULER_NO_TASK != abort_task) |
624 | GNUNET_SCHEDULER_cancel (abort_task); | ||
624 | if (GNUNET_OK != status) | 625 | if (GNUNET_OK != status) |
625 | { | 626 | { |
626 | mc_proc = NULL; | 627 | mc_proc = NULL; |