summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_sqlite3
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3')
-rw-r--r--source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
index 053ccd1b21..defd6fbbbc 100644
--- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
+++ b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
@@ -2106,7 +2106,7 @@ static int lsqlite3_connect(struct ldb_context *ldb,
goto failed;
}
(*module)->ldb = ldb;
- (*module)->prev = ldb->modules->next = NULL;
+ (*module)->prev = (*module)->next = NULL;
(*module)->private_data = lsqlite3;
(*module)->ops = &lsqlite3_ops;