1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

dbwrap_ctdb: Align loop index with terminator

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2016-04-11 15:45:49 +02:00 committed by Ralph Boehme
parent 069d79bbd9
commit e3fcf90f15

View File

@ -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;
int 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;
int i;
uint32_t i;
int count = 0;
NTSTATUS status;