X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2d5d9e243c91784909b11948894e3ba0989107c0..3fcb4665e17d451b0a1865353843c3dbdd1b5ca7:/uip/mhbuildsbr.c diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index e867824f..eca264c8 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -510,7 +510,7 @@ finish_field: * So this seems like the best option available since we're going * to call scan_content() on this. */ - p->c_cefile.ce_file = getcpy("/dev/null"); + p->c_cefile.ce_file = mh_xstrdup("/dev/null"); p->c_begin = ftell(in); p->c_end = ftell(in); @@ -2067,7 +2067,7 @@ set_disposition (CT ct) { cp); } - ct->c_dispo_type = cp ? getcpy (cp) : getcpy ("attachment"); + ct->c_dispo_type = cp ? getcpy (cp) : mh_xstrdup("attachment"); } }