summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-07-13 05:55:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:00 -0500
commit52bef30fd48393fa7b24ade7622c758373bd6dbe (patch)
tree3afead232dae58712b6c921fee96e4b67aff59df /source4/libcli/ldap
parent6fafd2f05579392a78a58c27d780786456bd2340 (diff)
downloadsamba-52bef30fd48393fa7b24ade7622c758373bd6dbe.tar.gz
samba-52bef30fd48393fa7b24ade7622c758373bd6dbe.tar.bz2
samba-52bef30fd48393fa7b24ade7622c758373bd6dbe.zip
r8414: Some C++ friendlyness fixes - 'not' is apparently a keyword in C++.
(This used to be commit bcfb3a45e4a5962fe763f8071d4458f4bd11605b)
Diffstat (limited to 'source4/libcli/ldap')
-rw-r--r--source4/libcli/ldap/ldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/ldap/ldap.c b/source4/libcli/ldap/ldap.c
index d7a230a77f..5a45e6524e 100644
--- a/source4/libcli/ldap/ldap.c
+++ b/source4/libcli/ldap/ldap.c
@@ -97,7 +97,7 @@ static BOOL ldap_push_filter(struct asn1_data *data, struct ldb_parse_tree *tree
case LDB_OP_NOT:
asn1_push_tag(data, ASN1_CONTEXT(2));
- if (!ldap_push_filter(data, tree->u.not.child)) {
+ if (!ldap_push_filter(data, tree->u.isnot.child)) {
return False;
}
asn1_pop_tag(data);
@@ -500,8 +500,8 @@ static struct ldb_parse_tree *ldap_decode_filter_tree(TALLOC_CTX *mem_ctx,
}
ret->operation = LDB_OP_NOT;
- ret->u.not.child = ldap_decode_filter_tree(ret, data);
- if (ret->u.not.child == NULL) {
+ ret->u.isnot.child = ldap_decode_filter_tree(ret, data);
+ if (ret->u.isnot.child == NULL) {
goto failed;
}
if (!asn1_end_tag(data)) {