aboutsummaryrefslogtreecommitdiff
path: root/src/util/scheduler.c
diff options
context:
space:
mode:
authorlurchi <lurchi@strangeplace.net>2018-01-27 12:44:59 +0100
committerlurchi <lurchi@strangeplace.net>2018-01-27 12:44:59 +0100
commit3f9b17815962021ba69eea1c69ac8f6af787db48 (patch)
treef3f0a754276f6a7e3061e49549875c3bd11617ed /src/util/scheduler.c
parentc53cced7bc23c27544a48a6b515b6f6407e4bfa3 (diff)
downloadgnunet-3f9b17815962021ba69eea1c69ac8f6af787db48.tar.gz
gnunet-3f9b17815962021ba69eea1c69ac8f6af787db48.zip
really make GNUNET_SCHEDULER_run_from_driver more graceful (must have been late)
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r--src/util/scheduler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c
index 2daa6dd80..98334490b 100644
--- a/src/util/scheduler.c
+++ b/src/util/scheduler.c
@@ -1945,7 +1945,7 @@ GNUNET_SCHEDULER_run_from_driver (struct GNUNET_SCHEDULER_Handle *sh)
1945 { 1945 {
1946 struct GNUNET_TIME_Absolute timeout = get_timeout (); 1946 struct GNUNET_TIME_Absolute timeout = get_timeout ();
1947 1947
1948 if (timeout.abs_value_us < now.abs_value_us) 1948 if (timeout.abs_value_us > now.abs_value_us)
1949 { 1949 {
1950 /** 1950 /**
1951 * The driver called this function before the current timeout was 1951 * The driver called this function before the current timeout was