summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-25 16:05:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:13 -0500
commit7c30312c1734038825ac2e18fa2a32eb775d5c8d (patch)
tree0faa73cffa1beb185682a83d7deaf4103ea86d1b /source4/librpc/ndr/ndr.c
parent7f894169d9b1010f52ffb95ba24473f7e2dd8fd5 (diff)
downloadsamba-7c30312c1734038825ac2e18fa2a32eb775d5c8d.tar.gz
samba-7c30312c1734038825ac2e18fa2a32eb775d5c8d.tar.bz2
samba-7c30312c1734038825ac2e18fa2a32eb775d5c8d.zip
r25316: Remove last few instances of old BOOL type in librpc/.
(This used to be commit 80d1dd41d4b224c46ad545f0afd97a847b99860b)
Diffstat (limited to 'source4/librpc/ndr/ndr.c')
-rw-r--r--source4/librpc/ndr/ndr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/ndr/ndr.c b/source4/librpc/ndr/ndr.c
index 49cfd3a9fe..1ee8d05975 100644
--- a/source4/librpc/ndr/ndr.c
+++ b/source4/librpc/ndr/ndr.c
@@ -572,7 +572,7 @@ _PUBLIC_ NTSTATUS ndr_token_store(TALLOC_CTX *mem_ctx,
retrieve a token from a ndr context, using cmp_fn to match the tokens
*/
_PUBLIC_ NTSTATUS ndr_token_retrieve_cmp_fn(struct ndr_token_list **list, const void *key, uint32_t *v,
- comparison_fn_t _cmp_fn, BOOL _remove_tok)
+ comparison_fn_t _cmp_fn, bool _remove_tok)
{
struct ndr_token_list *tok;
for (tok=*list;tok;tok=tok->next) {
@@ -594,7 +594,7 @@ found:
*/
_PUBLIC_ NTSTATUS ndr_token_retrieve(struct ndr_token_list **list, const void *key, uint32_t *v)
{
- return ndr_token_retrieve_cmp_fn(list, key, v, NULL, True);
+ return ndr_token_retrieve_cmp_fn(list, key, v, NULL, true);
}
/*
@@ -604,7 +604,7 @@ _PUBLIC_ uint32_t ndr_token_peek(struct ndr_token_list **list, const void *key)
{
NTSTATUS status;
uint32_t v;
- status = ndr_token_retrieve_cmp_fn(list, key, &v, NULL, False);
+ status = ndr_token_retrieve_cmp_fn(list, key, &v, NULL, false);
if (NT_STATUS_IS_OK(status)) return v;
return 0;
}