X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=imap%2Fauth_sasl.c;h=4d5495f7dd60008fa1d7610f7b9dac59587b1273;hb=b07d69b15852a06183f7b2298436e18150c36958;hp=436b3313a3daa1e6c36f9aa6d8c9c1d697882a66;hpb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b;p=apps%2Fmadmutt.git diff --git a/imap/auth_sasl.c b/imap/auth_sasl.c index 436b331..4d5495f 100644 --- a/imap/auth_sasl.c +++ b/imap/auth_sasl.c @@ -14,9 +14,9 @@ #endif #include +#include #include "mutt.h" -#include "ascii.h" #include "mutt_sasl.h" #include "imap_private.h" #include "auth.h" @@ -110,7 +110,7 @@ imap_auth_res_t imap_auth_sasl (IMAP_DATA * idata, const char *method) if (irc == IMAP_CMD_RESPOND) { if (sasl_decode64 - (idata->cmd.buf + 2, str_len (idata->cmd.buf + 2), buf, + (idata->cmd.buf + 2, m_strlen(idata->cmd.buf + 2), buf, LONG_STRING - 1, &len) != SASL_OK) { debug_print (1, ("error base64-decoding server response.\n"));