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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to