+/**
+ * \brief Burn the cached folder list.
+ * \param age How old the cahce needs to be before we burn it.
+ */
+
+void burn_folder_cache(time_t age)
+{
+ /** If our cached folder list is very old, burn it. */
+ if (WC->cache_fold != NULL) {
+ if ((time(NULL) - WC->cache_timestamp) > age) {
+ free(WC->cache_fold);
+ WC->cache_fold = NULL;
+ }
+ }
+}
+
+
+
+