diff options
author | hpa <hpa> | 2002-05-06 19:14:14 +0000 |
---|---|---|
committer | hpa <hpa> | 2002-05-06 19:14:14 +0000 |
commit | c980666bbeddf8625d057a920314a28072ee5f9c (patch) | |
tree | 99f48660a920d2e72c685ef8558060b79a0b37a7 | |
parent | d849153191c7a713278df8aa8053d428751e79bf (diff) | |
download | tftp-hpa-c980666bbeddf8625d057a920314a28072ee5f9c.tar.gz |
Fix bogus sizeof()
-rw-r--r-- | tftpd/remap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tftpd/remap.c b/tftpd/remap.c index 6534b01..86081f3 100644 --- a/tftpd/remap.c +++ b/tftpd/remap.c @@ -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) ) |