Fix uip/whom.c for C89 compatibility
[mmh] / uip / mhlistsbr.c
index 46b0d4c..dd6264b 100644 (file)
@@ -174,8 +174,7 @@ list_content(CT ct, int toplevel, int verbose, int debug)
        /* print Content-Description */
        if (ct->c_descr) {
                char *dp;
-
-               dp = trimcpy(cp = getcpy(ct->c_descr));
+               dp = trimcpy(cp = mh_xstrdup(ct->c_descr));
                mh_free0(&cp);
                printf(LSTFMT2d1, dp);
                mh_free0(&dp);