Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9307:dfbcb8ead5ef HEAD
login proxy: Changed the message to show to clients when proxying fails.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 12 Aug 2009 14:36:05 -0400 |
parents | e3ccd235a7e5 |
children | 1072d2b53f72 |
files | src/imap-login/imap-proxy.c src/pop3-login/pop3-proxy.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap-login/imap-proxy.c Wed Aug 12 14:32:17 2009 -0400 +++ b/src/imap-login/imap-proxy.c Wed Aug 12 14:36:05 2009 -0400 @@ -18,7 +18,8 @@ #include <stdlib.h> #define PROXY_FAILURE_MSG \ - "NO ["IMAP_RESP_CODE_UNAVAILABLE"] "AUTH_TEMP_FAILED_MSG + "NO ["IMAP_RESP_CODE_UNAVAILABLE"] " \ + "Account is temporarily unavailable. Try again later." static const char *const * capabilities_strip_prelogin(const char *const *capabilities)
--- a/src/pop3-login/pop3-proxy.c Wed Aug 12 14:32:17 2009 -0400 +++ b/src/pop3-login/pop3-proxy.c Wed Aug 12 14:36:05 2009 -0400 @@ -11,7 +11,8 @@ #include "client.h" #include "pop3-proxy.h" -#define PROXY_FAILURE_MSG "-ERR [IN-USE] "AUTH_TEMP_FAILED_MSG +#define PROXY_FAILURE_MSG "-ERR [IN-USE] " \ + "Account is temporarily unavailable. Try again later." static void proxy_free_password(struct pop3_client *client) {