X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fauth_sasl.c;h=b8b1e3ce64128e0d0f9d3237cc5187d0ebcf6048;hp=75ec4d4c8675a3e4283e5562bd03bdbe1e9f7369;hb=108f3c7ab59844591f7540347914ea57be5245e2;hpb=7f7a0be369840b290248e5b0302beb447fa1b3cd diff --git a/imap/auth_sasl.c b/imap/auth_sasl.c index 75ec4d4..b8b1e3c 100644 --- a/imap/auth_sasl.c +++ b/imap/auth_sasl.c @@ -14,15 +14,15 @@ #endif #include +#include #include "mutt.h" -#include "ascii.h" #include "mutt_sasl.h" #include "imap_private.h" #include "auth.h" #include -#include "lib/debug.h" +#include #include #include @@ -141,7 +141,7 @@ imap_auth_res_t imap_auth_sasl (IMAP_DATA * idata, const char *method) } if (irc == IMAP_CMD_RESPOND) { - strfcpy (buf + olen, "\r\n", sizeof (buf) - olen); + m_strcpy(buf + olen, sizeof(buf) - olen, "\r\n"); mutt_socket_write (idata->conn, buf); }