X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fslocal.c;h=fde41074157040779d34782526c0c8da197c9104;hb=f387b393dfab5cb5c00974b1807e8633531e0774;hp=8b8d554cfb2ee0be7947d757eef6c28a058f9f6c;hpb=240013872c392fe644bd4f79382d9f5314b4ea60;p=mmh diff --git a/uip/slocal.c b/uip/slocal.c index 8b8d554..fde4107 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -792,7 +792,7 @@ parse(int fd) case FLD: case FLDEOF: case FLDPLUS: - lp = add(field, NULL); + lp = getcpy(field); while (state == FLDPLUS) { state = m_getfld(state, name, field, sizeof(field), in); @@ -1586,7 +1586,7 @@ suppress_duplicates(int fd, char *file) continue; } - cp = add(buf, NULL); + cp = getcpy(buf); while (state == FLDPLUS) { state = m_getfld(state, name, buf, sizeof(buf), in); cp = add(buf, cp);