]> git.marmaro.de Git - mmh/blobdiff - uip/whom.c
Replace getcpy() and strdup() with mh_xstrdup()
[mmh] / uip / whom.c
index 27c8d91b75aeabc8d81f7783ab0cc41e104e9683..b987356f108708b01c453103ce3632ff521c765a 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);