aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/imap/MCIMAPSession.cpp
diff options
context:
space:
mode:
authorGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2015-11-09 15:47:27 -0800
committerGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2015-11-09 15:47:27 -0800
commit74bfa96b6dedeaffee989692cfb31866e03ede0d (patch)
tree8a68eb3a8a78cef1b432c72f8bcb4a93f122a805 /src/core/imap/MCIMAPSession.cpp
parentc41ed58043f57e05d0e6fe20b2e4f95dae1e95cb (diff)
Fixed error handling in custom command
Diffstat (limited to 'src/core/imap/MCIMAPSession.cpp')
-rwxr-xr-xsrc/core/imap/MCIMAPSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/imap/MCIMAPSession.cpp b/src/core/imap/MCIMAPSession.cpp
index e8603114..c2cf43e6 100755
--- a/src/core/imap/MCIMAPSession.cpp
+++ b/src/core/imap/MCIMAPSession.cpp
@@ -1011,7 +1011,7 @@ String * IMAPSession::customCommand(String * command, ErrorCode * pError)
return NULL;
}
else if (hasError(r)) {
- * pError = ErrorDelete;
+ * pError = ErrorCustomCommand;
return NULL;
}