aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/mbox/camel-mbox-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers/mbox/camel-mbox-folder.c')
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/providers/mbox/camel-mbox-folder.c b/camel/providers/mbox/camel-mbox-folder.c
index 685e2824e2..a31ade5ec4 100644
--- a/camel/providers/mbox/camel-mbox-folder.c
+++ b/camel/providers/mbox/camel-mbox-folder.c
@@ -587,7 +587,7 @@ _delete (CamelFolder *folder, gboolean recurse, CamelException *ex)
CAMEL_LOG_FULL_DEBUG ("CamelMboxFolder::delete removing directory %s\n", folder_dir_path);
rmdir_error = rmdir (folder_dir_path);
if (rmdir_error == -1)
- switch errno {
+ switch (errno) {
case EACCES :
camel_exception_set (ex,
CAMEL_EXCEPTION_FOLDER_INSUFFICIENT_PERMISSION,
@@ -611,7 +611,7 @@ _delete (CamelFolder *folder, gboolean recurse, CamelException *ex)
/* physically delete the file */
unlink_error = unlink (folder_dir_path);
if (unlink_error == -1)
- switch errno {
+ switch (errno) {
case EACCES :
case EPERM :
case EROFS :
@@ -803,7 +803,7 @@ _list_subfolders (CamelFolder *folder, CamelException *ex)
/* io exception handling */
- switch errno {
+ switch (errno) {
case EACCES :
camel_exception_setv (ex,