Replace getcpy() and strdup() with mh_xstrdup()
[mmh] / uip / whom.c
index 27c8d91..b987356 100644 (file)
@@ -222,7 +222,7 @@ process(char *file)
 
                case FLDPLUS:
                        compnum++;
-                       cp = getcpy(buf);
+                       cp = mh_xstrdup(buf);
                        while (state == FLDPLUS) {
                                state = m_getfld(state, name, buf,
                                                sizeof(buf), in);