summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/ldap')
-rw-r--r--source4/libcli/ldap/ldap_controls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/ldap/ldap_controls.c b/source4/libcli/ldap/ldap_controls.c
index 47b1262aea..f4f54ec2e2 100644
--- a/source4/libcli/ldap/ldap_controls.c
+++ b/source4/libcli/ldap/ldap_controls.c
@@ -127,7 +127,7 @@ static BOOL decode_server_sort_request(void *mem_ctx, DATA_BLOB in, void **out)
}
if (asn1_peek_tag(&data, ASN1_BOOLEAN)) {
- bool reverse;
+ BOOL reverse;
if (!asn1_read_BOOLEAN(&data, &reverse)) {
return False;
}
@@ -904,11 +904,11 @@ BOOL ldap_decode_control(void *mem_ctx, struct asn1_data *data, struct ldb_contr
}
if (asn1_peek_tag(data, ASN1_BOOLEAN)) {
- bool critical;
+ BOOL critical;
if (!asn1_read_BOOLEAN(data, &critical)) {
return False;
}
- critical = ctrl->critical;
+ ctrl->critical = critical;
} else {
ctrl->critical = False;
}