diff options
author | brian <brian@FreeBSD.org> | 1997-12-24 09:29:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-24 09:29:17 +0000 |
commit | 14d342e696e1f58935e230c2b5bda26daa36cda0 (patch) | |
tree | 73e0e9a6ac1b2542326d644b2e9f7611a6f6a810 /usr.sbin/ppp/filter.c | |
parent | e2cdbfbbb2fff725814c29bd10d948ba15f8240e (diff) | |
download | FreeBSD-src-14d342e696e1f58935e230c2b5bda26daa36cda0.zip FreeBSD-src-14d342e696e1f58935e230c2b5bda26daa36cda0.tar.gz |
Cosmetic (style):
sizeof(var) -> sizeof var
sizeof type -> sizeof(type)
Suggested by: J Wunsch <j@uriah.heep.sax.de>
Diffstat (limited to 'usr.sbin/ppp/filter.c')
-rw-r--r-- | usr.sbin/ppp/filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/filter.c b/usr.sbin/ppp/filter.c index d152799..596b65a 100644 --- a/usr.sbin/ppp/filter.c +++ b/usr.sbin/ppp/filter.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: filter.c,v 1.19 1997/11/22 03:37:30 brian Exp $ + * $Id: filter.c,v 1.20 1997/12/13 02:37:22 brian Exp $ * * TODO: Shoud send ICMP error message when we discard packets. */ @@ -301,7 +301,7 @@ Parse(int argc, char const *const *argv, struct filterent * ofp) argv++; proto = P_NONE; - memset(&filterdata, '\0', sizeof(filterdata)); + memset(&filterdata, '\0', sizeof filterdata); if (!strcmp(*argv, "permit")) { action = A_PERMIT; |