summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_ildap
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-06-08 01:02:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:58 -0500
commitd912d6fcef28fad1c6e1c04a3a2eb4ed9e1a4ca3 (patch)
tree3335d0fb05d1cd635399097b96dc3714628fed53 /source4/lib/ldb/ldb_ildap
parentf4f194aad102fb6c8740867ac198e1cad0796b63 (diff)
downloadsamba-d912d6fcef28fad1c6e1c04a3a2eb4ed9e1a4ca3.tar.gz
samba-d912d6fcef28fad1c6e1c04a3a2eb4ed9e1a4ca3.tar.bz2
samba-d912d6fcef28fad1c6e1c04a3a2eb4ed9e1a4ca3.zip
r16087: Fix silly cut-and-paste typo that cost me much of my afternoon...
This only affects my new partitions module, which I will post soon, but should be fixed anyway. Andrew Bartlett (This used to be commit 8912c4e057eb3962321245cf49b92999afcc64fc)
Diffstat (limited to 'source4/lib/ldb/ldb_ildap')
-rw-r--r--source4/lib/ldb/ldb_ildap/ldb_ildap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/lib/ldb/ldb_ildap/ldb_ildap.c b/source4/lib/ldb/ldb_ildap/ldb_ildap.c
index 340f89e48f..9251451549 100644
--- a/source4/lib/ldb/ldb_ildap/ldb_ildap.c
+++ b/source4/lib/ldb/ldb_ildap/ldb_ildap.c
@@ -833,7 +833,7 @@ static int ildb_connect(struct ldb_context *ldb, const char *url,
return -1;
}
(*module)->ldb = ldb;
- (*module)->prev = ldb->modules->next = NULL;
+ (*module)->prev = (*module)->next = NULL;
(*module)->private_data = ildb;
(*module)->ops = &ildb_ops;
@@ -869,9 +869,6 @@ static int ildb_connect(struct ldb_context *ldb, const char *url,
return 0;
failed:
- if (ldb->modules) {
- ldb->modules->private_data = NULL;
- }
talloc_free(ildb);
return -1;
}