summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/modules
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-24 05:39:29 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-24 05:39:29 +0100
commit479b4b09e1694b60a85d7d613655d3dab180ea94 (patch)
treeaf9d1d386d5a84d6f0627ab84e06036e298b7a6a /source4/lib/ldb/modules
parent1feab85be605269db272a4b48375fd85845b7ffd (diff)
downloadsamba-479b4b09e1694b60a85d7d613655d3dab180ea94.tar.gz
samba-479b4b09e1694b60a85d7d613655d3dab180ea94.tar.bz2
samba-479b4b09e1694b60a85d7d613655d3dab180ea94.zip
Fix accidental condition inversion.
Diffstat (limited to 'source4/lib/ldb/modules')
-rw-r--r--source4/lib/ldb/modules/operational.c2
1 files changed, 1 insertions, 1 deletions
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);