From 479b4b09e1694b60a85d7d613655d3dab180ea94 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 24 Dec 2008 05:39:29 +0100 Subject: Fix accidental condition inversion. --- source4/lib/ldb/modules/operational.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/modules/operational.c b/source4/lib/ldb/modules/operational.c index 4193f916a0..11c06c81bb 100644 --- a/source4/lib/ldb/modules/operational.c +++ b/source4/lib/ldb/modules/operational.c @@ -273,7 +273,7 @@ static int operational_search(struct ldb_module *module, struct ldb_request *req req->op.search.scope, req->op.search.tree, /* use new set of attrs if any */ - search_attrs?req->op.search.attrs:search_attrs, + search_attrs == NULL?req->op.search.attrs:search_attrs, req->controls, ac, operational_callback, req); -- cgit