]> 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, 3 Jul 2019 13:30:23 +0000 (15:30 +0200)
commite8dfce5b50ebcaacffe30642fc128db0bef04242
tree6409869465bcf391564889feb142fe22eecd43a5
parent0c547512f9c0eae9583ca338e48eeac01c598abf
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