From 526320a0389a54a3629038fe6b34da8c6d4eec0e Mon Sep 17 00:00:00 2001 From: Paul Sadauskas Date: Wed, 8 Jul 2009 10:49:23 +0200 Subject: [PATCH] src/utils_cache.c: Add a missing `continue'. tokkee on IRC & I think we found a bug with utils_cache.c. The uc_check_timeout function is missing a continue after the "uninteresting" service check, that causes a key to be null. This probably caused an assertion failure in cache_compare as reported by Mariusz. --- src/utils_cache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils_cache.c b/src/utils_cache.c index 3cfe3a12..2f70ffe8 100644 --- a/src/utils_cache.c +++ b/src/utils_cache.c @@ -305,6 +305,7 @@ int uc_check_timeout (void) sfree (keys[i]); sfree (key); cache_free (ce); + continue; } /* If we get here, the value is ``interesting''. Query the record from the -- 2.11.0