diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-10-06 22:10:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:54 -0500 |
commit | 0c56f8dac31c51a42dedf2a1da9fd76896855b19 (patch) | |
tree | 59d4dfa169bc9b5bd20a8dc31dd40f4fa6259f04 /source4/smb_server/smb/negprot.c | |
parent | 734aaefd34016cc422287aafe6689f19892bd3a6 (diff) | |
download | samba-0c56f8dac31c51a42dedf2a1da9fd76896855b19.tar.gz samba-0c56f8dac31c51a42dedf2a1da9fd76896855b19.tar.bz2 samba-0c56f8dac31c51a42dedf2a1da9fd76896855b19.zip |
r25551: Convert to standard bool type.
(This used to be commit c9651e2c5c078edee7b91085e936a93625c8d708)
Diffstat (limited to 'source4/smb_server/smb/negprot.c')
-rw-r--r-- | source4/smb_server/smb/negprot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/smb_server/smb/negprot.c b/source4/smb_server/smb/negprot.c index 835aa67302..de70dfe5f6 100644 --- a/source4/smb_server/smb/negprot.c +++ b/source4/smb_server/smb/negprot.c @@ -251,7 +251,7 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice) int secword=0; time_t t = req->request_time.tv_sec; NTTIME nttime; - BOOL negotiate_spnego = False; + bool negotiate_spnego = false; char *large_test_path; unix_to_nt_time(&nttime, t); @@ -269,7 +269,7 @@ static void reply_nt1(struct smbsrv_request *req, uint16_t choice) (lp_security(global_loadparm) != SEC_SHARE) && lp_use_spnego(global_loadparm) && (req->flags2 & FLAGS2_EXTENDED_SECURITY)) { - negotiate_spnego = True; + negotiate_spnego = true; capabilities |= CAP_EXTENDED_SECURITY; } @@ -493,10 +493,10 @@ void smbsrv_reply_negprot(struct smbsrv_request *req) smbsrv_terminate_connection(req->smb_conn, "multiple negprot's are not permitted"); return; } - req->smb_conn->negotiate.done_negprot = True; + req->smb_conn->negotiate.done_negprot = true; p = req->in.data; - while (True) { + while (true) { size_t len; protos = talloc_realloc(req, protos, char *, protos_count + 1); |