Revert "When fuzzing, use the number of moves as a proxy for the hour."
This reverts commit f75deae0bc.
This commit is contained in:
@@ -1129,8 +1129,7 @@ friday_13th()
|
||||
int
|
||||
night()
|
||||
{
|
||||
register int hour = (iflags.debug_fuzzer ? (moves / 1000) % 24 :
|
||||
getlt()->tm_hour);
|
||||
register int hour = getlt()->tm_hour;
|
||||
|
||||
return (hour < 6 || hour > 21);
|
||||
}
|
||||
@@ -1138,10 +1137,7 @@ night()
|
||||
int
|
||||
midnight()
|
||||
{
|
||||
register int hour = (iflags.debug_fuzzer ? (moves / 1000) % 24 :
|
||||
getlt()->tm_hour);
|
||||
|
||||
return (hour == 0);
|
||||
return (getlt()->tm_hour == 0);
|
||||
}
|
||||
|
||||
/* strbuf_init() initializes strbuf state for use */
|
||||
|
||||
Reference in New Issue
Block a user