diff options
Diffstat (limited to 'src/util/scheduler.c')
-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; |