]> git.ipfire.org Git - thirdparty/chrony.git/commit
sourcestats: clamp minsamples and maxsamples in initialization
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 10 Feb 2022 14:24:25 +0000 (15:24 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 10 Feb 2022 15:31:46 +0000 (16:31 +0100)
commitf9af2f97339e219d6cf3a26291f82047705aa529
tree5b449a89622bf3dfc21a4a3d20fb34488c966a00
parent43ae0131cdcb76b048922cbd557582ef2cbb65eb
sourcestats: clamp minsamples and maxsamples in initialization

Don't leave the variables set to values outside their effective range.
This has no functional impact, but makes it clear what is the precedence
of the two settings.
sourcestats.c