diff options
Diffstat (limited to 'camel/camel-store.c')
-rw-r--r-- | camel/camel-store.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/camel/camel-store.c b/camel/camel-store.c index 2756fbc483..0bc80b43de 100644 --- a/camel/camel-store.c +++ b/camel/camel-store.c @@ -1052,31 +1052,6 @@ camel_store_noop (CamelStore *store, CamelException *ex) } -int -camel_mkdir_hier (const char *path, mode_t mode) -{ - char *copy, *p; - - p = copy = g_strdup (path); - do { - p = strchr (p + 1, '/'); - if (p) - *p = '\0'; - if (access (copy, F_OK) == -1) { - if (mkdir (copy, mode) == -1) { - g_free (copy); - return -1; - } - } - if (p) - *p = '/'; - } while (p); - - g_free (copy); - return 0; -} - - /* Return true if these uri's refer to the same object */ gboolean camel_store_uri_cmp(CamelStore *store, const char *uria, const char *urib) |