X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fauth_sasl.c;h=a3877580216bcfaedb448579335f6fbfb8038792;hp=20a39b9db4dfacc35063206bf74d490370893fac;hb=8476307969a605bea67f6b702b0c1e7a52038bed;hpb=230399f9632c37b66c1c117a17e8327eae6b3235 diff --git a/imap/auth_sasl.c b/imap/auth_sasl.c index 20a39b9..a387758 100644 --- a/imap/auth_sasl.c +++ b/imap/auth_sasl.c @@ -9,10 +9,6 @@ /* SASL login/authentication code */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - #include #include "mutt.h" @@ -56,7 +52,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] || - !ascii_strncmp (idata->conn->account.user, "anonymous", 9))) + !m_strncmp(idata->conn->account.user, "anonymous", 9))) rc = sasl_client_start (saslconn, "AUTH=ANONYMOUS", NULL, &pc, &olen, &mech); }