diff options
author | Simo Sorce <idra@samba.org> | 2008-06-14 11:24:17 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-06-14 11:59:19 -0400 |
commit | 929adc9efa5cf985f0585214d30d18521aa1a821 (patch) | |
tree | 2a0f3e4dedc1336fb29aa4f36f302f29c5439f55 /source4/lib/ldb/tools/ldbsearch.c | |
parent | 2aba4107915611b223daa8c27c52352f57b25bbc (diff) | |
download | samba-929adc9efa5cf985f0585214d30d18521aa1a821.tar.gz samba-929adc9efa5cf985f0585214d30d18521aa1a821.tar.bz2 samba-929adc9efa5cf985f0585214d30d18521aa1a821.zip |
Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
Diffstat (limited to 'source4/lib/ldb/tools/ldbsearch.c')
-rw-r--r-- | source4/lib/ldb/tools/ldbsearch.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c index e25bd19965..b3d1f934a6 100644 --- a/source4/lib/ldb/tools/ldbsearch.c +++ b/source4/lib/ldb/tools/ldbsearch.c @@ -276,7 +276,10 @@ int main(int argc, const char **argv) int ret = -1; const char *expression = "(|(objectClass=*)(distinguishedName=*))"; - ldb = ldb_init(NULL); + ldb = ldb_init(NULL, NULL); + if (ldb == NULL) { + return -1; + } options = ldb_cmdline_process(ldb, argc, argv, usage); |