diff src/search.c @ 1148:95860439070b

Replace cache_ensure_dir_exists() by new recursive_mkdir_if_not_exists().
author zas_
date Sat, 15 Nov 2008 20:01:25 +0000
parents 3a7af6a8cd5f
children f6449c17306b
line wrap: on
line diff
--- a/src/search.c	Sat Nov 15 19:13:43 2008 +0000
+++ b/src/search.c	Sat Nov 15 20:01:25 2008 +0000
@@ -1540,7 +1540,7 @@
 
 			path = image_loader_get_fd(sd->img_loader)->path;
 			base = cache_get_location(CACHE_TYPE_SIM, path, FALSE, &mode);
-			if (cache_ensure_dir_exists(base, mode))
+			if (recursive_mkdir_if_not_exists(base, mode))
 				{
 				g_free(cd->path);
 				cd->path = cache_get_location(CACHE_TYPE_SIM, path, TRUE, NULL);