]> diplodocus.org Git - nmh/blobdiff - uip/mhbuildsbr.c
sbr/mf.c: Rename path to routepath to avoid h/mh.h clash.
[nmh] / uip / mhbuildsbr.c
index f26c81bede7cc110372368b7219cc52a7d119a21..412f871ee1a84f2894e392d9e83a3581be0c405f 100644 (file)
@@ -131,7 +131,7 @@ build_mime (char *infile, int autobuild, int dist, int directives,
            int header_encoding, size_t maxunencoded, int verbose)
 {
     int        compnum, state;
-    char buf[BUFSIZ], name[NAMESZ];
+    char buf[NMH_BUFSIZ], name[NAMESZ];
     char *cp, *np, *vp;
     struct multipart *m;
     struct part **pp;
@@ -1772,7 +1772,7 @@ skip_headers:
      */
     if (checksw) {
        np = mh_xstrdup(MD5_FIELD);
-       vp = calculate_digest (ct, (ct->c_encoding == CE_QUOTED) ? 1 : 0);
+        vp = calculate_digest (ct, ct->c_encoding == CE_QUOTED);
        add_header (ct, np, vp);
     }