Mercurial > dovecot > core-2.2
changeset 19943:9dbae3591914
doveadm: Fix typos in error messages
author | Michael M Slusarz <michael.slusarz@dovecot.fi> |
---|---|
date | Thu, 03 Mar 2016 19:55:03 -0700 |
parents | 9234cb74bc17 |
children | 96a4451f07e7 |
files | src/doveadm/client-connection-http.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/client-connection-http.c Fri Mar 11 18:01:33 2016 +1300 +++ b/src/doveadm/client-connection-http.c Thu Mar 03 19:55:03 2016 -0700 @@ -651,13 +651,13 @@ char *value = p_strdup_printf(conn->client.pool, "doveadm:%s", conn->client.set->doveadm_password); base64_encode(value, strlen(value), b64_value); if (strcmp(creds.data, str_c(b64_value)) == 0) auth = TRUE; - else i_error("Invalid authencition attempt to HTTP API"); + else i_error("Invalid authentication attempt to HTTP API"); } else if (strcasecmp(creds.scheme, "X-Doveadm-API") == 0 && doveadm_settings->doveadm_api_key[0] != '\0') { string_t *b64_value = str_new(conn->client.pool, 32); base64_encode(doveadm_settings->doveadm_api_key, strlen(doveadm_settings->doveadm_api_key), b64_value); if (strcmp(creds.data, str_c(b64_value)) == 0) auth = TRUE; - else i_error("Invalid authencition attempt to HTTP API"); + else i_error("Invalid authentication attempt to HTTP API"); } else i_error("Unsupported authentication scheme to HTTP API"); }