]> diplodocus.org Git - nmh/blobdiff - uip/install-mh.c
Replace `(char *)0' et al with `NULL'.
[nmh] / uip / install-mh.c
index a79793f5a36ce613474e8fdcbd75ee172b457254..ce766380b8d25cfa3a0960b860c3904c312207d8 100644 (file)
@@ -182,8 +182,8 @@ query:
      */
     NEW(np);
     m_defs = np;
-    np->n_name = getcpy ("Path");
-    np->n_field = getcpy (pathname);
+    np->n_name = mh_xstrdup("Path");
+    np->n_field = mh_xstrdup(pathname);
     np->n_context = 0;
     np->n_next = NULL;