Fix bogus sizeof()

This commit is contained in:
hpa 2002-05-06 19:14:14 +00:00
parent d849153191
commit c980666bbe

View file

@ -146,7 +146,7 @@ static int parseline(char *line, struct rule *r, int lineno)
int rxflags = REG_EXTENDED;
static int nrule;
memset(r, 0, sizeof r);
memset(r, 0, sizeof *r);
r->nrule = nrule;
if ( !readescstring(buffer, &line) )