From b6bf167857d3c9ddb0a7819a1ace83f993c43e1e Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sat, 15 Apr 2000 01:54:44 +0000 Subject: Fix switch statement. 2000-04-14 Christopher James Lahey * providers/mbox/camel-mbox-folder.c: Fix switch statement. svn path=/trunk/; revision=2447 --- camel/providers/mbox/camel-mbox-folder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/providers') 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, -- cgit v1.2.3