]> diplodocus.org Git - nmh/blobdiff - uip/mhoutsbr.c
Add a new base64 CTE test.
[nmh] / uip / mhoutsbr.c
index 246d99b49d16d4b8c28af362d0929dfb3330a710..9584d78955fc8bc6785096358ea5c5f1efda73f1 100644 (file)
@@ -12,7 +12,6 @@
 #include <fcntl.h>
 #include <h/signals.h>
 #include <h/md5.h>
-#include <signal.h>
 #include <h/mts.h>
 #include <h/tws.h>
 #include <h/mime.h>
@@ -405,7 +404,7 @@ writeBase64ct (CT ct, FILE *out)
     if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK)
        return NOTOK;
 
-    result = writeBase64aux (ce->ce_fp, out);
+    result = writeBase64aux (ce->ce_fp, out, (ct->c_type == CT_TEXT));
     (*ct->c_ceclosefnx) (ct);
     return result;
 }