Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 16:03:53 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298353 - head/lib/libc/net
Message-ID:  <201604201603.u3KG3rIv094877@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pfg
Date: Wed Apr 20 16:03:53 2016
New Revision: 298353
URL: https://svnweb.freebsd.org/changeset/base/298353

Log:
  Minor indentation issue.

Modified:
  head/lib/libc/net/ip6opt.c

Modified: head/lib/libc/net/ip6opt.c
==============================================================================
--- head/lib/libc/net/ip6opt.c	Wed Apr 20 15:45:55 2016	(r298352)
+++ head/lib/libc/net/ip6opt.c	Wed Apr 20 16:03:53 2016	(r298353)
@@ -199,8 +199,7 @@ inet6_option_alloc(struct cmsghdr *cmsg,
 
 	/* calculate pad length before the option. */
 	off = bp - (u_char *)eh;
-	padlen = roundup2(off % multx, multx) -
-		(off % multx);
+	padlen = roundup2(off % multx, multx) - (off % multx);
 	padlen += plusy;
 	padlen %= multx;	/* keep the pad as short as possible */
 	/* insert padding */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604201603.u3KG3rIv094877>