sched: Use (0,0) as the timeval for a minimal delay.
[paraslash.git] / sched.c
diff --git a/sched.c b/sched.c
index 8baed49..8648811 100644 (file)
--- a/sched.c
+++ b/sched.c
@@ -258,8 +258,7 @@ char *get_task_list(void)
  */
 void sched_min_delay(struct sched *s)
 {
-       s->select_timeout.tv_sec = 0;
-       s->select_timeout.tv_usec = 1;
+       s->select_timeout.tv_sec = s->select_timeout.tv_usec = 0;
 }
 
 /**