* some further cleanups

This commit is contained in:
Dirk-Jan C. Binnema
2011-01-05 20:38:33 +02:00
parent 6539ae4bd7
commit aa22e5e90d
9 changed files with 153 additions and 257 deletions

View File

@ -75,7 +75,7 @@ create_maildir (const char *path, mode_t mode, GError **err)
fullpath = mu_str_fullpath_s (path, subdirs[i]);
rv = g_mkdir_with_parents (fullpath, (int)mode);
if (rv != 0) {
g_set_error (err, 0, MU_FILE_ERROR_CANNOT_MKDIR,
g_set_error (err, 0, MU_ERROR_FILE_CANNOT_MKDIR,
"g_mkdir_with_parents failed: %s",
strerror (errno));
return FALSE;