diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/upgrade-mailer.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 29173456fd..0abe0853fe 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2003-07-07 Jeffrey Stedfast <fejj@ximian.com> + + * upgrade-mailer.c: Updated to use the camel-file-utils version of + mkdir. + 2003-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_forward_message): Strip the signature diff --git a/mail/upgrade-mailer.c b/mail/upgrade-mailer.c index e2dfc1bc8d..130194ca6a 100644 --- a/mail/upgrade-mailer.c +++ b/mail/upgrade-mailer.c @@ -46,7 +46,6 @@ #include <libxml/tree.h> #include <camel/camel-file-utils.h> -#include <camel/camel-store.h> struct _storeinfo { char *base_url; @@ -254,7 +253,7 @@ cache_upgrade (struct _storeinfo *si, const char *folder_name) /* make sure all parent directories exist */ if ((p = strrchr (newpath, '/'))) { *p = '\0'; - camel_mkdir_hier (newpath, 0755); + camel_mkdir (newpath, 0755); *p = '/'; } @@ -271,7 +270,7 @@ cache_upgrade (struct _storeinfo *si, const char *folder_name) special_case_folders: /* the user had a toplevel folder named "folders" */ - if (camel_mkdir_hier (newpath, 0755) == -1) { + if (camel_mkdir (newpath, 0755) == -1) { /* we don't bother to check EEXIST because well, if folders/folders exists then we're pretty much fucked */ @@ -293,7 +292,7 @@ cache_upgrade (struct _storeinfo *si, const char *folder_name) /* make sure all parent directories exist */ if ((p = strrchr (new_path, '/'))) { *p = '\0'; - camel_mkdir_hier (new_path, 0755); + camel_mkdir (new_path, 0755); *p = '/'; } |