Replace getcpy() and strdup() with mh_xstrdup()
[mmh] / uip / mhmail.c
index 1515858..06630b3 100644 (file)
@@ -107,10 +107,10 @@ main(int argc, char **argv)
                }
                if (iscc)
                        cclist = cclist ? add(cp, add(", ", cclist)) :
-                                       getcpy(cp);
+                                       mh_xstrdup(cp);
                else
                        tolist = tolist ? add(cp, add(", ", tolist)) :
-                                       getcpy(cp);
+                                       mh_xstrdup(cp);
        }
 
        if (tolist == NULL)