From d7ca6a64067a4e01a5e47044a6a80323d0138bee Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 29 Sep 2010 17:56:58 +0200 Subject: [PATCH] src/utils_cache.c: Replace a left-over hard-coded default of "2" with "timeout_g". --- src/utils_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_cache.c b/src/utils_cache.c index 69ea864b..aeb662d5 100644 --- a/src/utils_cache.c +++ b/src/utils_cache.c @@ -175,7 +175,7 @@ static int uc_send_notification (const char *name) } /* Check if the entry has been updated in the meantime */ - if ((n.time - ce->last_update) < (2 * ce->interval)) + if ((n.time - ce->last_update) < (timeout_g * ce->interval)) { ce->state = STATE_OKAY; pthread_mutex_unlock (&cache_lock); -- 2.11.0