dovecot-1.2: Changed imap-resp-code [ACL] to [NOPERM], which it ...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Dec 6 19:11:27 EET 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/182552d20b17
changeset: 8521:182552d20b17
user: Timo Sirainen <tss at iki.fi>
date: Sat Dec 06 19:11:22 2008 +0200
description:
Changed imap-resp-code [ACL] to [NOPERM], which it will be in the next draft.
diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
src/imap/commands-util.c | 2 +-
src/lib-imap/imap-resp-code.h | 2 +-
src/plugins/imap-acl/imap-acl-plugin.c | 2 +-
diffs (36 lines):
diff -r 86477dd0b276 -r 182552d20b17 src/imap/commands-util.c
--- a/src/imap/commands-util.c Sat Dec 06 07:47:21 2008 +0200
+++ b/src/imap/commands-util.c Sat Dec 06 19:11:22 2008 +0200
@@ -160,7 +160,7 @@ get_error_string(const char *error_strin
resp_code = IMAP_RESP_CODE_CANNOT;
break;
case MAIL_ERROR_PERM:
- resp_code = IMAP_RESP_CODE_ACL;
+ resp_code = IMAP_RESP_CODE_NOPERM;
break;
case MAIL_ERROR_NOSPACE:
resp_code = IMAP_RESP_CODE_OVERQUOTA;
diff -r 86477dd0b276 -r 182552d20b17 src/lib-imap/imap-resp-code.h
--- a/src/lib-imap/imap-resp-code.h Sat Dec 06 07:47:21 2008 +0200
+++ b/src/lib-imap/imap-resp-code.h Sat Dec 06 19:11:22 2008 +0200
@@ -7,7 +7,7 @@
#define IMAP_RESP_CODE_AUTHZFAILED "AUTHORIZATIONFAILED"
#define IMAP_RESP_CODE_EXPIRED "EXPIRED"
#define IMAP_RESP_CODE_CONTACTADMIN "CONTACTADMIN"
-#define IMAP_RESP_CODE_ACL "ACL"
+#define IMAP_RESP_CODE_NOPERM "NOPERM"
#define IMAP_RESP_CODE_INUSE "INUSE"
#define IMAP_RESP_CODE_EXPUNGEISSUED "EXPUNGEISSUED"
#define IMAP_RESP_CODE_CORRUPTION "CORRUPTION"
diff -r 86477dd0b276 -r 182552d20b17 src/plugins/imap-acl/imap-acl-plugin.c
--- a/src/plugins/imap-acl/imap-acl-plugin.c Sat Dec 06 07:47:21 2008 +0200
+++ b/src/plugins/imap-acl/imap-acl-plugin.c Sat Dec 06 19:11:22 2008 +0200
@@ -13,7 +13,7 @@
#include <stdlib.h>
-#define ERROR_NOT_ADMIN "["IMAP_RESP_CODE_ACL"] " \
+#define ERROR_NOT_ADMIN "["IMAP_RESP_CODE_NOPERM"] " \
"You lack administrator privileges on this mailbox."
#define ACL_MAILBOX_OPEN_FLAGS \
More information about the dovecot-cvs
mailing list