Mercurial > dovecot > core-2.2
changeset 21565:c6ed855ff6c9
lib-imap-client: pass the reply text to the auth-failed state change callback
author | Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
---|---|
date | Wed, 15 Feb 2017 13:46:06 -0500 |
parents | 437d6269a5b1 |
children | 7dfa73aba5f6 |
files | src/lib-imap-client/imapc-connection.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-imap-client/imapc-connection.c Wed Feb 15 09:13:05 2017 -0500 +++ b/src/lib-imap-client/imapc-connection.c Wed Feb 15 13:46:06 2017 -0500 @@ -857,7 +857,7 @@ if (base64_decode(reply->text_full, input_len, NULL, buf) < 0) { imapc_auth_failed(conn, t_strdup_printf("Server sent non-base64 input for AUTHENTICATE: %s", - error)); + reply->text_full)); } else if (dsasl_client_input(conn->sasl_client, buf->data, buf->used, &error) < 0) { imapc_auth_failed(conn, error); } else if (dsasl_client_output(conn->sasl_client, &sasl_output,