diff options
author | David Barksdale <amatus@amatus.name> | 2015-01-04 20:19:36 -0600 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2015-01-04 20:19:36 -0600 |
commit | 388200440ec6c993ea79d2872922c29bad40e29d (patch) | |
tree | 47fbbfb61b73a22863839c40a0c36dd94606a1b3 | |
parent | e513852853e0241e56b4ee27a285dae5e07f1055 (diff) |
GNUNET_SCHEDULER_add* never returns NULL
-rw-r--r-- | gnunet-build/packages/gnunet/gnunet/files/scheduler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnunet-build/packages/gnunet/gnunet/files/scheduler.js b/gnunet-build/packages/gnunet/gnunet/files/scheduler.js index 3ec8031..2fad967 100644 --- a/gnunet-build/packages/gnunet/gnunet/files/scheduler.js +++ b/gnunet-build/packages/gnunet/gnunet/files/scheduler.js @@ -25,7 +25,7 @@ mergeInto(LibraryManager.library, { //Module.print('GNUNET_SCHEDULER_add_delayed_with_priority(delay='+delay+',pirority='+priority+',task='+task+',task_cls='+task_cls+')'); if (-1 == delay) { // This is the shutdown task, ignore for now - return 0; + return -1; } var id; id = setTimeout(function() { |