forked from mirrors/tftp-hpa-google
Fix bogus sizeof()
This commit is contained in:
parent
d849153191
commit
c980666bbe
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue