X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=fde41074157040779d34782526c0c8da197c9104;hp=8b8d554cfb2ee0be7947d757eef6c28a058f9f6c;hb=d39e2c447b0d163a5a63f480b23d06edb7a73aa0;hpb=6e8aba3714fe8ffc21dbb75ea9efdc41ab87b07f 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);