diff options
Diffstat (limited to 'source4/lib/ldb/examples')
-rw-r--r-- | source4/lib/ldb/examples/ldbreader.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/examples/ldifreader.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/examples/ldbreader.c b/source4/lib/ldb/examples/ldbreader.c index c8f26c3860..6e58114531 100644 --- a/source4/lib/ldb/examples/ldbreader.c +++ b/source4/lib/ldb/examples/ldbreader.c @@ -67,7 +67,7 @@ int main(int argc, const char **argv) Note that you can use the context structure as a parent for talloc allocations as well */ - ldb = ldb_init(NULL); + ldb = ldb_init(NULL, NULL); /* We now open the database. In this example we just hard code the connection path. diff --git a/source4/lib/ldb/examples/ldifreader.c b/source4/lib/ldb/examples/ldifreader.c index 926d99f838..12e7a1a6fd 100644 --- a/source4/lib/ldb/examples/ldifreader.c +++ b/source4/lib/ldb/examples/ldifreader.c @@ -71,7 +71,7 @@ int main(int argc, const char **argv) Note that you can use the context structure as a parent for talloc allocations as well */ - ldb = ldb_init(NULL); + ldb = ldb_init(NULL, NULL); fileStream = fopen(argv[1], "r"); if (0 == fileStream) { |