# HG changeset patch # User Timo Sirainen # Date 1254234958 14400 # Node ID 4c9f068e5ea15c88a90637cbf1c4caeecfccf72d # Parent e7a973c0101b3607e93f12b0a4ca08c3948a9de2 imap-login: Is dovecot-auth gives a reason for the failure, don't eat first 7 chars. Patch by Kirill Miazine. 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 @@ 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)