summaryrefslogtreecommitdiffstats
path: root/imap/auth_sasl.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2002-01-13 21:16:34 +0000
committerThomas Roessler <roessler@does-not-exist.org>2002-01-13 21:16:34 +0000
commit3f3de7b5f533423c0f2e4179dc1c8e2cd512da94 (patch)
tree5ff09a1571a948a8c6dab80a91446ea9510dd5d7 /imap/auth_sasl.c
parent67f9d2244edd36bff6d69c2cdab7fd45c0d8e0fb (diff)
Parse IMAP responses locale- and case- insensitive. From Brendan
Cully.
Diffstat (limited to 'imap/auth_sasl.c')
-rw-r--r--imap/auth_sasl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap/auth_sasl.c b/imap/auth_sasl.c
index 5c54f5dc..c8e656ed 100644
--- a/imap/auth_sasl.c
+++ b/imap/auth_sasl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-1 Brendan Cully <brendan@kublai.com>
+ * Copyright (C) 2000-2 Brendan Cully <brendan@kublai.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -62,7 +62,7 @@ imap_auth_res_t imap_auth_sasl (IMAP_DATA* idata, const char* method)
if (mutt_bit_isset (idata->capabilities, AUTH_ANON) &&
(!idata->conn->account.user[0] ||
- !mutt_strncmp (idata->conn->account.user, "anonymous", 9)))
+ !ascii_strncmp (idata->conn->account.user, "anonymous", 9)))
rc = sasl_client_start (saslconn, "AUTH=ANONYMOUS", NULL, NULL, &pc, &olen,
&mech);
}