summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_match.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/common/ldb_match.c')
-rw-r--r--source4/lib/ldb/common/ldb_match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_match.c b/source4/lib/ldb/common/ldb_match.c
index b32a933df3..f437f31eac 100644
--- a/source4/lib/ldb/common/ldb_match.c
+++ b/source4/lib/ldb/common/ldb_match.c
@@ -369,7 +369,7 @@ static int ldb_match_message(struct ldb_context *ldb,
return ldb_match_extended(ldb, msg, tree, base, scope);
case LDB_OP_NOT:
- return ! ldb_match_message(ldb, msg, tree->u.not.child, base, scope);
+ return ! ldb_match_message(ldb, msg, tree->u.isnot.child, base, scope);
case LDB_OP_AND:
for (i=0;i<tree->u.list.num_elements;i++) {