bugfix for a memory-reuse bug spost and whom
[mmh] / uip / whom.c
index e61dc62..4b15fbd 100644 (file)
@@ -193,7 +193,7 @@ process(char *file)
 
                case FLDPLUS:
                        compnum++;
 
                case FLDPLUS:
                        compnum++;
-                       cp = add(buf, cp);
+                       cp = getcpy(buf);
                        while (state == FLDPLUS) {
                                state = m_getfld(state, name, buf,
                                                sizeof(buf), in);
                        while (state == FLDPLUS) {
                                state = m_getfld(state, name, buf,
                                                sizeof(buf), in);