diff --git a/src/utils_cache.c b/src/utils_cache.c
index a63c7d1c9b1cba770447a6a9080d0c6a6c7ea235..2995501aeafd020c69082eb751b068c7661740f6 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
sfree (key);
cache_free (ce);
}
- else if (status == 1) /* persist */
+ else if (status == 2) /* persist */
{
DEBUG ("uc_check_timeout: %s is missing, sending notification.",
keys[i]);
ce->state = STATE_MISSING;
}
- else if (status == 2) /* do not persist */
+ else if (status == 1) /* do not persist */
{
if (ce->state == STATE_MISSING)
{