Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 01:14:17 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194803 - head/lib/libc/db/btree
Message-ID:  <200906240114.n5O1EHsJ097304@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Wed Jun 24 01:14:17 2009
New Revision: 194803
URL: http://svn.freebsd.org/changeset/base/194803

Log:
  style: operators should appear at the line end if we have to wrap.

Modified:
  head/lib/libc/db/btree/bt_split.c

Modified: head/lib/libc/db/btree/bt_split.c
==============================================================================
--- head/lib/libc/db/btree/bt_split.c	Tue Jun 23 23:56:56 2009	(r194802)
+++ head/lib/libc/db/btree/bt_split.c	Wed Jun 24 01:14:17 2009	(r194803)
@@ -644,8 +644,8 @@ bt_psplit(BTREE *t, PAGE *h, PAGE *l, PA
 		 * where we decide to try and copy too much onto the left page.
 		 * Make sure that doesn't happen.
 		 */
-		if ((skip <= off && used + nbytes + sizeof(indx_t) >= full)
-		    || nxt == top - 1) {
+		if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) ||
+		    nxt == top - 1) {
 			--off;
 			break;
 		}



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