diff options
Diffstat (limited to 'camel/camel-data-cache.c')
-rw-r--r-- | camel/camel-data-cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-data-cache.c b/camel/camel-data-cache.c index b5e615a112..a585f59a9d 100644 --- a/camel/camel-data-cache.c +++ b/camel/camel-data-cache.c @@ -128,7 +128,7 @@ camel_data_cache_new(const char *path, guint32 flags, CamelException *ex) { CamelDataCache *cdc; - if (camel_file_util_mkdir(path, 0700) == -1) { + if (camel_mkdir (path, 0700) == -1) { camel_exception_setv(ex, CAMEL_EXCEPTION_SYSTEM, _("Unable to create cache path")); return NULL; @@ -239,7 +239,7 @@ data_cache_path(CamelDataCache *cdc, int create, const char *path, const char *k sprintf(dir, "%s/%s/%02x", cdc->path, path, hash); if (access(dir, F_OK) == -1) { if (create) - camel_file_util_mkdir(dir, 0700); + camel_mkdir (dir, 0700); } else if (cdc->priv->expire_inc == hash && (cdc->expire_age != -1 || cdc->expire_access != -1)) { time_t now; |