From 30191d1a5704ad2b158386b511558972d539ce47 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 18 Oct 2007 17:40:25 -0700 Subject: RIP BOOL. Convert BOOL -> bool. I found a few interesting bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f) --- source3/services/services_db.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/services/services_db.c') diff --git a/source3/services/services_db.c b/source3/services/services_db.c index b2ef6b30f1..ccb69d76e4 100644 --- a/source3/services/services_db.c +++ b/source3/services/services_db.c @@ -178,7 +178,7 @@ static char* cleanup_string( const char *string ) /******************************************************************** ********************************************************************/ -static BOOL read_init_file( const char *servicename, struct rcinit_file_information **service_info ) +static bool read_init_file( const char *servicename, struct rcinit_file_information **service_info ) { struct rcinit_file_information *info; pstring filepath, str; @@ -516,14 +516,14 @@ SEC_DESC* svcctl_get_secdesc( TALLOC_CTX *ctx, const char *name, NT_USER_TOKEN * Wrapper to make storing a Service sd easier ********************************************************************/ -BOOL svcctl_set_secdesc( TALLOC_CTX *ctx, const char *name, SEC_DESC *sec_desc, NT_USER_TOKEN *token ) +bool svcctl_set_secdesc( TALLOC_CTX *ctx, const char *name, SEC_DESC *sec_desc, NT_USER_TOKEN *token ) { REGISTRY_KEY *key; WERROR wresult; pstring path; REGVAL_CTR *values; prs_struct ps; - BOOL ret = False; + bool ret = False; /* now add the security descriptor */ -- cgit