summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--snooze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/snooze.c b/snooze.c
index b29c7b6..f37c42a 100644
--- a/snooze.c
+++ b/snooze.c
@@ -185,7 +185,7 @@ next_day:
 		tm->tm_hour = 0;
 
 		t = mktime(tm);
-		if (t > from+(365*24*60*60))  // no result within a year
+		if (t > from+(366*24*60*60))  // no result within a year
 			return -1;
 	}