]> diplodocus.org Git - nmh/blobdiff - uip/ap.c
Put, rather than print, single characters.
[nmh] / uip / ap.c
index dff6dc4370e182ff8f6d3d1b8dc7b5448cf111c7..48117846d101debe7a956569573e61188d1568da 100644 (file)
--- a/uip/ap.c
+++ b/uip/ap.c
@@ -157,8 +157,8 @@ process (char *arg, int length)
     while ((cp = getname (arg))) {
        NEW0(p);
        if ((mp = getm (cp, NULL, 0, error, sizeof(error))) == NULL) {
-           p->pq_text = getcpy (cp);
-           p->pq_error = getcpy (error);
+           p->pq_text = mh_xstrdup(cp);
+           p->pq_error = mh_xstrdup(error);
            status++;
        }
        else {