X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhbuildsbr.c;h=83a18b5fe621a95e6f78fff575b06069ceb89f53;hp=64ec8a6800b66b07608a8ec8a2e4f4df8f8ff803;hb=1bb1f6c3f38b05060bf699ea2743f7386889bf63;hpb=255d4c646c0d7aa6b049052fef47fa083b1b1506 diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index 64ec8a6..83a18b5 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -51,6 +51,7 @@ extern int verbosw; extern int ebcdicsw; extern int listsw; extern int rfc934sw; +extern int contentidsw; extern int endian; /* mhmisc.c */ @@ -3932,9 +3933,9 @@ build_headers (CT ct) add_header (ct, np, vp); /* - * output the Content-ID + * output the Content-ID, unless disabled by -nocontentid */ - if (ct->c_id) { + if (contentidsw && ct->c_id) { np = add (ID_FIELD, NULL); vp = concat (" ", ct->c_id, NULL); add_header (ct, np, vp);