From ca5accf224dc3ef998235603797b519866b57b1c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 4 Jun 2006 05:28:13 +0000 Subject: r16036: Add a couple of new functions to corretly deal with timeouts. Check timeouts are correctly verified. Some minor fixed and removal of unused code. (This used to be commit b52e5d6a0cb1a32e62759eaa49ce3e4cc804cc92) --- source4/lib/ldb/tools/ldbsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/tools') diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c index 854360b723..2c8108c9ad 100644 --- a/source4/lib/ldb/tools/ldbsearch.c +++ b/source4/lib/ldb/tools/ldbsearch.c @@ -226,7 +226,7 @@ static int do_search(struct ldb_context *ldb, req->controls = actx->req_ctrls; req->async.context = actx; req->async.callback = &search_callback; - req->async.timeout = 3600; /* TODO: make this settable by command line */ + ldb_set_timeout(ldb, req, 0); /* TODO: make this settable by command line */ again: actx->pending = 0; -- cgit