]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix comment in lruhash space function.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 Mar 2024 11:30:00 +0000 (12:30 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 Mar 2024 11:30:00 +0000 (12:30 +0100)
doc/Changelog
util/storage/lruhash.c

index 1b73bf547b6e397b6a892e7e62c47fe9895702fa..2d46e719972826b142d366d987a9647ea090bb77 100644 (file)
@@ -3,6 +3,7 @@
        - Fix #1032: The size of subnet_msg_cache calculation mistake cause
          memory usage increased beyond expectations.
        - Fix for #1032, add safeguard to make table space positive.
+       - Fix comment in lruhash space function.
 
 25 March 2024: Yorgos
        - Merge #831 from Pierre4012: Improve Windows NSIS installer
index f14e83b562cbe3427900ac10abd84f70112cf060..aba9fcc1d83bc43951bed5e23878438e8b6df7b0 100644 (file)
@@ -540,7 +540,7 @@ lruhash_update_space_used(struct lruhash* table, void* cb_arg, int diff_size)
 
        if(cb_arg == NULL) cb_arg = table->cb_arg;
 
-       /* find bin */
+       /* update space used */
        lock_quick_lock(&table->lock);
 
        if((int)table->space_used + diff_size < 0)