summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ldap/ldb_ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/ldb_ldap/ldb_ldap.c')
-rw-r--r--source4/lib/ldb/ldb_ldap/ldb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_ldap/ldb_ldap.c b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
index c74be37108..13f891108a 100644
--- a/source4/lib/ldb/ldb_ldap/ldb_ldap.c
+++ b/source4/lib/ldb/ldb_ldap/ldb_ldap.c
@@ -811,7 +811,7 @@ static int lldb_connect(struct ldb_context *ldb,
return -1;
}
(*module)->ldb = ldb;
- (*module)->prev = ldb->modules->next = NULL;
+ (*module)->prev = (*module)->next = NULL;
(*module)->private_data = lldb;
(*module)->ops = &lldb_ops;