dovecot-1.2: imap-login: Is dovecot-auth gives a reason for the ...
dovecot at dovecot.org
dovecot at dovecot.org
Tue Sep 29 17:36:18 EEST 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/4c9f068e5ea1
changeset: 9395:4c9f068e5ea1
user: Timo Sirainen <tss at iki.fi>
date: Tue Sep 29 10:35:58 2009 -0400
description:
imap-login: Is dovecot-auth gives a reason for the failure, don't eat first 7 chars.
Patch by Kirill Miazine.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap-login/client-authenticate.c | 2 +-
diffs (12 lines):
diff -r e7a973c0101b -r 4c9f068e5ea1 src/imap-login/client-authenticate.c
--- a/src/imap-login/client-authenticate.c Tue Sep 29 10:14:56 2009 -0400
+++ b/src/imap-login/client-authenticate.c Tue Sep 29 10:35:58 2009 -0400
@@ -153,7 +153,7 @@ static bool client_handle_args(struct im
else if (strcmp(key, "authz") == 0)
authz_failure = TRUE;
else if (strcmp(key, "reason") == 0)
- reason = value + 7;
+ reason = value;
else if (strcmp(key, "host") == 0)
host = value;
else if (strcmp(key, "port") == 0)
More information about the dovecot-cvs
mailing list