From b46977e4f64b040dd760ae74b0ca3cbed0df1395 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 29 Jun 2012 10:52:33 +0200 Subject: s3:dbwrap_ctdb: fix a comment in db_ctdb_fetch() Pair-Programmed-With: Gregor Beck --- source3/lib/dbwrap/dbwrap_ctdb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/lib/dbwrap/dbwrap_ctdb.c') diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c index 7ea8e9347c..d1f0e5d387 100644 --- a/source3/lib/dbwrap/dbwrap_ctdb.c +++ b/source3/lib/dbwrap/dbwrap_ctdb.c @@ -1226,8 +1226,9 @@ static NTSTATUS db_ctdb_fetch(struct db_context *db, TALLOC_CTX *mem_ctx, * we bypass the dmaster check for persistent databases */ if (db_ctdb_can_use_local_copy(ctdb_data, true)) { - /* we are the dmaster - avoid the ctdb protocol op */ - + /* + * We have a valid local copy - avoid the ctdb protocol op + */ data->dsize = ctdb_data.dsize - sizeof(struct ctdb_ltdb_header); data->dptr = (uint8_t *)talloc_memdup( -- cgit