diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-03-03 21:23:50 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-03-03 21:23:50 +0100 |
commit | 908626e8e19695aa5cd291e5033761ed744d5332 (patch) | |
tree | 5ad7fc7d9514968a3e77a799e335c8cb6784ae7e /src/util/scheduler.c | |
parent | c36f464031c4bebf11ce109cf6edbada584981d3 (diff) | |
download | gnunet-908626e8e19695aa5cd291e5033761ed744d5332.tar.gz gnunet-908626e8e19695aa5cd291e5033761ed744d5332.zip |
fix logging
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r-- | src/util/scheduler.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 7c1a8326a..e00ca444b 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -520,8 +520,8 @@ GNUNET_SCHEDULER_shutdown () | |||
520 | { | 520 | { |
521 | struct GNUNET_SCHEDULER_Task *pos; | 521 | struct GNUNET_SCHEDULER_Task *pos; |
522 | 522 | ||
523 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 523 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
524 | "GNUNET_SCHEDULER_shutdown\n"); | 524 | "GNUNET_SCHEDULER_shutdown\n"); |
525 | if (NULL != install_parent_control_task) | 525 | if (NULL != install_parent_control_task) |
526 | { | 526 | { |
527 | GNUNET_SCHEDULER_cancel (install_parent_control_task); | 527 | GNUNET_SCHEDULER_cancel (install_parent_control_task); |
@@ -2023,9 +2023,9 @@ GNUNET_SCHEDULER_do_work (struct GNUNET_SCHEDULER_Handle *sh) | |||
2023 | * waiting for the timeout, so we handle this gracefully. It might | 2023 | * waiting for the timeout, so we handle this gracefully. It might |
2024 | * also be a programming error in the driver though. | 2024 | * also be a programming error in the driver though. |
2025 | */ | 2025 | */ |
2026 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2026 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
2027 | "GNUNET_SCHEDULER_do_work did not find any ready " | 2027 | "GNUNET_SCHEDULER_do_work did not find any ready " |
2028 | "tasks and timeout has not been reached yet.\n"); | 2028 | "tasks and timeout has not been reached yet.\n"); |
2029 | return GNUNET_NO; | 2029 | return GNUNET_NO; |
2030 | } | 2030 | } |
2031 | /** | 2031 | /** |
@@ -2376,8 +2376,8 @@ select_loop (struct GNUNET_SCHEDULER_Handle *sh, struct DriverContext *context) | |||
2376 | } | 2376 | } |
2377 | if (GNUNET_YES == GNUNET_SCHEDULER_do_work (sh)) | 2377 | if (GNUNET_YES == GNUNET_SCHEDULER_do_work (sh)) |
2378 | { | 2378 | { |
2379 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2379 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
2380 | "scheduler has more tasks ready!\n"); | 2380 | "scheduler has more tasks ready!\n"); |
2381 | } | 2381 | } |
2382 | } | 2382 | } |
2383 | GNUNET_NETWORK_fdset_destroy (rs); | 2383 | GNUNET_NETWORK_fdset_destroy (rs); |