diff --git a/src/timer.c b/src/timer.c index 58d390f..deffcf3 100644 --- a/src/timer.c +++ b/src/timer.c @@ -1,7 +1,7 @@ #include int patty_timer_expired(struct timeval *timer) { - return (timer->tv_sec <= 0 && timer->tv_usec == 0)? 1: 0; + return timer->tv_sec <= 0? 1: 0; } void patty_timer_cancel(struct timeval *timer) {