X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhbuild.c;h=1fdedb6612f3d66c9e977d502e4f6e44ce23df01;hp=d636cf7c7d069133e4ceeb1059ba24be5ee7b8ae;hb=5d690daafbcd4ed26d19610fcc017999ee5af892;hpb=55ca5bf643035fd37cf0568e5ea73c1a8636b9a6 diff --git a/uip/mhbuild.c b/uip/mhbuild.c index d636cf7..1fdedb6 100644 --- a/uip/mhbuild.c +++ b/uip/mhbuild.c @@ -319,6 +319,7 @@ build_mime(char *infile) struct part **pp; CT ct; FILE *in; + HF hp; umask(~m_gmprot()); @@ -411,11 +412,9 @@ finish_field: } /* - * Iterate through the list of headers and call the function to MIME-ify - * them if required. - */ - - HF hp; + ** Iterate through the list of headers and call the function to + ** MIME-ify them if required. + */ for (hp = ct->c_first_hf; hp != NULL; hp = hp->next) { if (encode_rfc2047(hp->name, &hp->value, NULL)) { adios(EX_DATAERR, NULL, "Unable to encode header \"%s\"", hp->name);