]> jfr.im git - solanum.git/commit
valid_temp_time: simplify/correct overflow check
authorEd Kellett <redacted>
Sun, 19 Jun 2022 21:07:20 +0000 (22:07 +0100)
committerEd Kellett <redacted>
Mon, 20 Jun 2022 15:35:03 +0000 (16:35 +0100)
commit4f468093055324036d9af8fdf421f1b32b77bc3d
tree89941f9633f0ef3a7428dd7061b1623821f7a99f
parent8e239de83114878bf9d33cefb3475f47bbadbcd8
valid_temp_time: simplify/correct overflow check

the logic for trying to detect the maximum value of time_t was broken;
since we target a lower maximum time anyway, just use that for the
overflow check
ircd/s_newconf.c
tests/misc.c