]> git.marmaro.de Git - mmh/blobdiff - uip/mhmail.c
Replace getcpy() and strdup() with mh_xstrdup()
[mmh] / uip / mhmail.c
index 1515858b0e9733bc852b6b5fc2e1927e8c1ed363..06630b3bce882711d03b8eed3d2b6c73f065a44f 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)