changeset 8521:182552d20b17 HEAD

Changed imap-resp-code [ACL] to [NOPERM], which it will be in the next draft.
author Timo Sirainen <tss@iki.fi>
date Sat, 06 Dec 2008 19:11:22 +0200
parents 86477dd0b276
children b80ef0ddd1d3
files src/imap/commands-util.c src/lib-imap/imap-resp-code.h src/plugins/imap-acl/imap-acl-plugin.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 		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;
--- 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"
--- 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 \