diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
commit | 30191d1a5704ad2b158386b511558972d539ce47 (patch) | |
tree | 4f46e5c4f28f672ab661aa18f45745860970a88c /source3/auth/auth_server.c | |
parent | 789856f63ff73fec66298e95c91c60db7bdaf14e (diff) | |
download | samba-30191d1a5704ad2b158386b511558972d539ce47.tar.gz samba-30191d1a5704ad2b158386b511558972d539ce47.tar.bz2 samba-30191d1a5704ad2b158386b511558972d539ce47.zip |
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)
Diffstat (limited to 'source3/auth/auth_server.c')
-rw-r--r-- | source3/auth/auth_server.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c index 44f36dc4cf..815c1193d1 100644 --- a/source3/auth/auth_server.c +++ b/source3/auth/auth_server.c @@ -36,7 +36,7 @@ static struct cli_state *server_cryptkey(TALLOC_CTX *mem_ctx) struct in_addr dest_ip; const char *p; char *pserver; - BOOL connected_ok = False; + bool connected_ok = False; if (!(cli = cli_initialise())) return NULL; @@ -148,7 +148,7 @@ struct server_security_state { Send a 'keepalive' packet down the cli pipe. ****************************************************************************/ -static BOOL send_server_keepalive(const struct timeval *now, +static bool send_server_keepalive(const struct timeval *now, void *private_data) { struct server_security_state *state = talloc_get_type_abort( @@ -265,10 +265,10 @@ static NTSTATUS check_smbserver_security(const struct auth_context *auth_context struct cli_state *cli; static unsigned char badpass[24]; static fstring baduser; - static BOOL tested_password_server = False; - static BOOL bad_password_server = False; + static bool tested_password_server = False; + static bool bad_password_server = False; NTSTATUS nt_status = NT_STATUS_NOT_IMPLEMENTED; - BOOL locally_made_cli = False; + bool locally_made_cli = False; cli = (struct cli_state *)my_private_data; |