diff options
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r-- | mail/mail-component.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c index 96285c997a..bfedb644ec 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -35,6 +35,7 @@ #include <fcntl.h> #include <errno.h> +#include <libedataserver/e-data-server-util.h> #include "em-utils.h" #include "em-composer-utils.h" #include "em-format.h" @@ -1086,7 +1087,7 @@ mail_component_init (MailComponent *component) *p++ = '/'; } #endif - if (camel_mkdir (priv->base_directory, 0777) == -1 && errno != EEXIST) + if (e_util_mkdir_hier (priv->base_directory, 0777) == -1 && errno != EEXIST) abort (); priv->model = em_folder_tree_model_new (priv->base_directory); |