git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
069d79b
)
dbwrap_ctdb: Align loop index with terminator
author
Volker Lendecke
<vl@samba.org>
Mon, 11 Apr 2016 13:45:49 +0000
(15:45 +0200)
committer
Ralph Boehme
<slow@samba.org>
Tue, 17 May 2016 11:18:31 +0000
(13:18 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/dbwrap/dbwrap_ctdb.c
patch
|
blob
|
history
diff --git
a/source3/lib/dbwrap/dbwrap_ctdb.c
b/source3/lib/dbwrap/dbwrap_ctdb.c
index 532240d156581f3aea3257c8d8c6d1c6405dd8a7..e6b6524d804e30ffbf499b9b2387a701979c3d66 100644
(file)
--- a/
source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/
source3/lib/dbwrap/dbwrap_ctdb.c
@@
-357,7
+357,7
@@
static bool parse_newest_in_marshall_buffer(
struct ctdb_rec_data_old *rec = NULL;
struct ctdb_ltdb_header *h = NULL;
TDB_DATA data;
-
in
t i;
+
uint32_
t i;
if (buf == NULL) {
return false;
@@
-1431,7
+1431,7
@@
static int db_ctdb_traverse(struct db_context *db,
struct db_context *newkeys = db_open_rbt(talloc_tos());
struct ctdb_marshall_buffer *mbuf = ctx->transaction->m_write;
struct ctdb_rec_data_old *rec=NULL;
-
in
t i;
+
uint32_
t i;
int count = 0;
NTSTATUS status;