-fix time assertion introduce in last patch
[oweals/gnunet.git] / src / util / test_common_logging_runtime_loglevels.c
index 676cbe14fc06d1208059dc2f91400be7544e897c..0fe8614d05dd4cef43a303e3850063209379cfef 100644 (file)
@@ -175,7 +175,7 @@ read_output_line (int phase_from1, int phase_to1, int phase_from2,
   /* Delay must be either less than 'lessthan' (log call is skipped)
    * or more than 'morethan' (log call is not skipped)
    */
-  delay_outside_of_range = ((*delay < delay_lessthan) || (*delay > delay_morethan));
+  delay_outside_of_range = ((*delay < delay_lessthan) || (*delay >= delay_morethan));
   if (delay_is_a_dummy)
     delay_outside_of_range = 1;
 
@@ -391,7 +391,8 @@ runone ()
     break;
   }
 
-  proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, pipe_stdout,
+  proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
+                                  NULL, pipe_stdout, NULL,
 #if MINGW
                                   "test_common_logging_dummy",
 #else