diff options
Diffstat (limited to 'lib/dbwrap')
-rw-r--r-- | lib/dbwrap/dbwrap_rbt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap_rbt.c b/lib/dbwrap/dbwrap_rbt.c index c25ea6ec64..d468953a8a 100644 --- a/lib/dbwrap/dbwrap_rbt.c +++ b/lib/dbwrap/dbwrap_rbt.c @@ -411,7 +411,7 @@ static int db_rbt_trans_dummy(struct db_context *db) static void db_rbt_id(struct db_context *db, const uint8_t **id, size_t *idlen) { *id = (uint8_t *)db; - *idlen = sizeof(db); + *idlen = sizeof(struct db_context *); } struct db_context *db_open_rbt(TALLOC_CTX *mem_ctx) |