]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
utils/cache_gc: more lint fixes
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 17 Jun 2019 11:31:17 +0000 (13:31 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 10 Jul 2019 13:59:22 +0000 (15:59 +0200)
commit4f09abfb149d1692e6747f64dbca28c8d71cd320
tree6001f7bb91961f52a24818b3814a3bafd8582245
parent9a9846e2f045cd2c7b7cfdb5fed24108a2d9becb
utils/cache_gc: more lint fixes

I can't see any real benefit of floating-point in the amount_tofree
computation; we could use round(), but it doesn't seem significant.
utils/cache_gc/categories.c
utils/cache_gc/kr_cache_gc.c