rem: node->dir_valid = time(NULL) + CACHE_TIMEOUT;
add: node->dir_valid = time(NULL) + cache_dir_timeout;
context: static void cache_add_dir(const char *path, char **dir){    struct node *node;    time_t now;    pthread_mutex_lock(&cache_lock);    node = cache_get(path);    now = time(NULL);    g_strfreev(node->dir);    node->dir = dir;    node->dir_valid = time(NULL) + CACHE_TIMEOUT;    if (node->dir_valid > node->valid)        node->valid = node->dir_valid;    cache_clean();    pthread_mutex_unlock(&cache_lock);}