diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-04-15 16:09:17 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-04-15 16:09:17 +0000 |
commit | e309166fcfe403129197403fc8267de795a161ba (patch) | |
tree | b5af4ba63c282030c24ae08b5a6431c96560252c /sbin/isakmpd/log.c | |
parent | 6585ea45efd718a3ce89e9bd9596a892824f65c8 (diff) |
Style.
Diffstat (limited to 'sbin/isakmpd/log.c')
-rw-r--r-- | sbin/isakmpd/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/log.c b/sbin/isakmpd/log.c index 0b443b897a0..d30b1489d05 100644 --- a/sbin/isakmpd/log.c +++ b/sbin/isakmpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.17 2001/04/09 21:21:57 ho Exp $ */ +/* $OpenBSD: log.c,v 1.18 2001/04/15 16:09:16 ho Exp $ */ /* $EOM: log.c,v 1.30 2000/09/29 08:19:23 niklas Exp $ */ /* @@ -590,7 +590,7 @@ in_cksum (const struct ip *ip, int len) nleft -= 2; } if (nleft == 1) - sum += htons (*(u_char *)w<<8); + sum += htons (*(u_char *)w << 8); sum = (sum >> 16) + (sum & 0xffff); /* add hi 16 to low 16 */ sum += (sum >> 16); /* add carry */ |