aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-04-15 09:54:44 +0800
committerChris Lahey <clahey@src.gnome.org>2000-04-15 09:54:44 +0800
commitb6bf167857d3c9ddb0a7819a1ace83f993c43e1e (patch)
treefea65e7680a69f394c6a1dc1ccb111d1ce659f35 /camel
parent268f3e4fcbeed5c44f2a2f2ac1983b7a15bc9d94 (diff)
downloadgsoc2013-evolution-b6bf167857d3c9ddb0a7819a1ace83f993c43e1e.tar.gz
gsoc2013-evolution-b6bf167857d3c9ddb0a7819a1ace83f993c43e1e.tar.zst
gsoc2013-evolution-b6bf167857d3c9ddb0a7819a1ace83f993c43e1e.zip
Fix switch statement.
2000-04-14 Christopher James Lahey <clahey@helixcode.com> * providers/mbox/camel-mbox-folder.c: Fix switch statement. svn path=/trunk/; revision=2447
Diffstat (limited to 'camel')
-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,