really make GNUNET_SCHEDULER_run_from_driver more graceful (must have been late)
authorlurchi <lurchi@strangeplace.net>
Sat, 27 Jan 2018 11:44:59 +0000 (12:44 +0100)
committerlurchi <lurchi@strangeplace.net>
Sat, 27 Jan 2018 11:44:59 +0000 (12:44 +0100)
src/util/scheduler.c

index 2daa6dd80f2f5cce3076571cd609095949e24ec9..98334490b4f3794ce43c1ee728bfbe5f1662e951 100644 (file)
@@ -1945,7 +1945,7 @@ GNUNET_SCHEDULER_run_from_driver (struct GNUNET_SCHEDULER_Handle *sh)
   {
     struct GNUNET_TIME_Absolute timeout = get_timeout ();
 
-    if (timeout.abs_value_us < now.abs_value_us)
+    if (timeout.abs_value_us > now.abs_value_us)
     {
       /**
        * The driver called this function before the current timeout was