diff options
author | 2014-02-17 21:05:39 +0000 | |
---|---|---|
committer | 2014-02-17 21:05:39 +0000 | |
commit | 6c96ba227e5ef056f71882fb935a668b7afe4bb6 (patch) | |
tree | 80495471801ffb03a7c376d54a1f448344720037 /lib/libc/net | |
parent | fix possible NULL-deref in error code path (diff) | |
download | wireguard-openbsd-6c96ba227e5ef056f71882fb935a668b7afe4bb6.tar.xz wireguard-openbsd-6c96ba227e5ef056f71882fb935a668b7afe4bb6.zip |
replace spaces with tabs for indentation
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/ip6opt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/ip6opt.c b/lib/libc/net/ip6opt.c index c3609621c27..7b4fdc4c4e6 100644 --- a/lib/libc/net/ip6opt.c +++ b/lib/libc/net/ip6opt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip6opt.c,v 1.5 2014/02/07 09:50:04 mpi Exp $ */ +/* $OpenBSD: ip6opt.c,v 1.6 2014/02/17 21:05:39 stsp Exp $ */ /* $KAME: ip6opt.c,v 1.18 2005/06/15 07:11:35 keiichi Exp $ */ /* @@ -384,7 +384,7 @@ inet6_opt_init(void *extbuf, socklen_t extlen) struct ip6_ext *ext = (struct ip6_ext *)extbuf; if (ext) { - if (extlen <= 0 || (extlen % 8)) + if (extlen <= 0 || (extlen % 8)) return (-1); ext->ip6e_len = (extlen >> 3) - 1; } |