aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhpa <hpa>2002-05-06 19:14:14 +0000
committerhpa <hpa>2002-05-06 19:14:14 +0000
commitc980666bbeddf8625d057a920314a28072ee5f9c (patch)
tree99f48660a920d2e72c685ef8558060b79a0b37a7
parentd849153191c7a713278df8aa8053d428751e79bf (diff)
downloadtftp-hpa-c980666bbeddf8625d057a920314a28072ee5f9c.tar.gz
Fix bogus sizeof()
-rw-r--r--tftpd/remap.c2
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) )