summaryrefslogtreecommitdiff
path: root/source3/lib/ldb/tools/ldbadd.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-04-23 14:27:59 +0200
committerJelmer Vernooij <jelmer@samba.org>2009-04-23 18:27:31 +0200
commit9b64073cf733588b75c3780f2c18728ff3009500 (patch)
tree9e0a2a4b0489d3322be1a1c06ec68f594d844143 /source3/lib/ldb/tools/ldbadd.c
parent90cc5e72ba0cf4b5261be2f2aa9db87bd011fbb0 (diff)
downloadsamba-9b64073cf733588b75c3780f2c18728ff3009500.tar.gz
samba-9b64073cf733588b75c3780f2c18728ff3009500.tar.bz2
samba-9b64073cf733588b75c3780f2c18728ff3009500.zip
ldb/samba3: Support event context argument to ldb_init().
This argument is ignored (Samba3's LDB is synchronous) but having it there is useful for API compatibility with the LDB used by Samba 4 and available on some systems.
Diffstat (limited to 'source3/lib/ldb/tools/ldbadd.c')
-rw-r--r--source3/lib/ldb/tools/ldbadd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb/tools/ldbadd.c b/source3/lib/ldb/tools/ldbadd.c
index 155395e065..c23a13ab3c 100644
--- a/source3/lib/ldb/tools/ldbadd.c
+++ b/source3/lib/ldb/tools/ldbadd.c
@@ -90,7 +90,7 @@ int main(int argc, const char **argv)
ldb_global_init();
- ldb = ldb_init(NULL);
+ ldb = ldb_init(NULL, NULL);
options = ldb_cmdline_process(ldb, argc, argv, usage);