2005-05-05 [thorsten] 1.9.6cvs55
[claws.git] / src / folder.c
index f404a76f48368a017a7bb623f173048903ba4997..c67f32fb62103349ced181258226d2458898807d 100644 (file)
@@ -1942,7 +1942,7 @@ void folder_clean_cache_memory(void)
                while((listitem != NULL) && (memusage > (prefs_common.cache_max_mem_usage * 1024))) {
                        FolderItem *item = (FolderItem *)(listitem->data);
 
-                       debug_print("Freeing cache memory for %s\n", item->path);
+                       debug_print("Freeing cache memory for %s\n", item->path ? item->path : item->name);
                        memusage -= msgcache_get_memory_usage(item->cache);
                        folder_item_free_cache(item);
                        listitem = listitem->next;