]> diplodocus.org Git - nmh/blobdiff - uip/dp.c
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / uip / dp.c
index 097b961d2cab83fc09493f718a2b2870660b18e7..6909239bb14341b245b6b8306bc33ae104881b1e 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -138,7 +138,7 @@ process (char *date, int length)
     int status = 0;
     charstring_t scanl =
        charstring_create (length < NMH_BUFSIZ ? length : NMH_BUFSIZ);
-    register struct comp *cptr;
+    struct comp *cptr;
 
     cptr = fmt_findcomp ("text");
     if (cptr) {