aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/mbox/camel-mbox-folder.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f5d2bb5571..7ff38b67cd 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-14 Christopher James Lahey <clahey@helixcode.com>
+
+ * providers/mbox/camel-mbox-folder.c: Fix switch statement.
+
2000-04-14 Chris Toshok <toshok@helixcode.com>
* providers/nntp/camel-nntp-folder.c (_exists): always return TRUE
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,