]> diplodocus.org Git - nmh/blobdiff - uip/slocal.c
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / uip / slocal.c
index 6bbcde6a17c9bb8f328e4fe90ed4b60181468b99..71c67b1ea4aec6dcffb4064e98265abd168c4069 100644 (file)
@@ -1163,7 +1163,7 @@ get_sender (char *envelope, char **sender)
     char buffer[BUFSIZ];
 
     if (envelope == NULL) {
     char buffer[BUFSIZ];
 
     if (envelope == NULL) {
-       *sender = getcpy ("");
+       *sender = mh_xstrdup("");
        return;
     }
 
        return;
     }