From 39f3c37ccf56b87cecb8b9669f75fe56dc5dbcbf Mon Sep 17 00:00:00 2001 From: glebius Date: Fri, 11 Feb 2005 23:17:50 +0000 Subject: style: fix indentation and spacing. Submitted by: ru --- sys/netgraph/ng_ipfw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/netgraph/ng_ipfw.c') diff --git a/sys/netgraph/ng_ipfw.c b/sys/netgraph/ng_ipfw.c index b4b421b..031a615 100644 --- a/sys/netgraph/ng_ipfw.c +++ b/sys/netgraph/ng_ipfw.c @@ -232,8 +232,8 @@ ng_ipfw_rcvdata(hook_p hook, item_p item) struct ip *ip; if (m->m_len < sizeof(struct ip) && - (m = m_pullup(m, sizeof(struct ip))) == NULL) - return(EINVAL); + (m = m_pullup(m, sizeof(struct ip))) == NULL) + return (EINVAL); ip = mtod(m, struct ip *); @@ -298,8 +298,8 @@ ng_ipfw_input(struct mbuf **m0, int dir, struct ip_fw_args *fwa, int tee) return (ENOMEM); /* which is ignored */ if (m->m_len < sizeof(struct ip) && - (m = m_pullup(m, sizeof(struct ip))) == NULL) - return(EINVAL); + (m = m_pullup(m, sizeof(struct ip))) == NULL) + return (EINVAL); ip = mtod(m, struct ip *); ip->ip_len = htons(ip->ip_len); -- cgit v1.1