]> diplodocus.org Git - nmh/blobdiff - mts/smtp/smtp.c
Cleanup MIME header handling in mhbuild
[nmh] / mts / smtp / smtp.c
index 0887e1cd99891f1cc0e24acea2dcf4701788eedc..ea7f719666d006251d8f2a44d6a3a4e2a68ef96f 100644 (file)
@@ -6,6 +6,8 @@
  */
 
 #include "h/mh.h"
+#include "sbr/r1bindex.h"
+#include "sbr/client.h"
 #include "sbr/error.h"
 #include "smtp.h"
 #include "h/mts.h"
@@ -1046,7 +1048,7 @@ sm_sasl_callback(enum sasl_message_type mtype, unsigned const char *indata,
            *outdata = NULL;
            *outdatalen = 0;
        } else {
-           rc = decodeBase64(line + 4, outdata, &len, 0, NULL);
+           rc = decodeBase64(line + 4, outdata, &len, 0);
            if (rc != OK) {
                netsec_err(errstr, "Unable to decode base64 response");
                return NOTOK;