summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-30 20:00:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:27 -0500
commit37e94956e0a976b6d144b5885b2ef18bb8e4b39b (patch)
tree8d05cd7eded5c27b0e4479c6d759dc163bb98eae /source4/libcli
parentad53de9d599d9ca1b935754d93b455a89198fa37 (diff)
downloadsamba-37e94956e0a976b6d144b5885b2ef18bb8e4b39b.tar.gz
samba-37e94956e0a976b6d144b5885b2ef18bb8e4b39b.tar.bz2
samba-37e94956e0a976b6d144b5885b2ef18bb8e4b39b.zip
r15365: Fix error in my previous commit, caught by metze.
(This used to be commit 0d99397007960e555f562f1498a202407e235f36)
Diffstat (limited to 'source4/libcli')
-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;
}