diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-02 15:41:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-02 15:41:19 +0000 |
commit | d9a543ece708bb0802219ed8e4043bc2d0b361fd (patch) | |
tree | d1a63c4aa419b7184aa389592ac0b62c54f69dc5 /src/util | |
parent | cdf5e4a31ab5454682284f7ba4fac7622ae4cf0b (diff) | |
download | gnunet-d9a543ece708bb0802219ed8e4043bc2d0b361fd.tar.gz gnunet-d9a543ece708bb0802219ed8e4043bc2d0b361fd.zip |
force passing of sanity check
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/scheduler.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index 3040fd970..dd0ce6054 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | (C) 2009 Christian Grothoff (and other contributing authors) | 3 | (C) 2009, 2011 Christian Grothoff (and other contributing authors) |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published | 6 | it under the terms of the GNU General Public License as published |
@@ -786,9 +786,11 @@ GNUNET_SCHEDULER_run (GNUNET_SCHEDULER_Task task, void *task_cls) | |||
786 | task_cls, | 786 | task_cls, |
787 | GNUNET_SCHEDULER_REASON_STARTUP); | 787 | GNUNET_SCHEDULER_REASON_STARTUP); |
788 | #if ENABLE_WINDOWS_WORKAROUNDS | 788 | #if ENABLE_WINDOWS_WORKAROUNDS |
789 | active_task = (void*) (long) -1; /* force passing of sanity check */ | ||
789 | GNUNET_SCHEDULER_add_now_with_lifeness (GNUNET_NO, | 790 | GNUNET_SCHEDULER_add_now_with_lifeness (GNUNET_NO, |
790 | &GNUNET_OS_install_parent_control_handler, | 791 | &GNUNET_OS_install_parent_control_handler, |
791 | NULL); | 792 | NULL); |
793 | active_task = NULL; | ||
792 | #endif | 794 | #endif |
793 | last_tr = 0; | 795 | last_tr = 0; |
794 | busy_wait_warning = 0; | 796 | busy_wait_warning = 0; |