create the lib-mx now
[apps/madmutt.git] / imap / auth_sasl.c
index 20a39b9..a387758 100644 (file)
@@ -9,10 +9,6 @@
 
 /* SASL login/authentication code */
 
-#if HAVE_CONFIG_H
-# include "config.h"
-#endif
-
 #include <lib-lib/lib-lib.h>
 
 #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);
   }