summaryrefslogtreecommitdiff
path: root/source3/smbd/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/error.c')
-rw-r--r--source3/smbd/error.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/error.c b/source3/smbd/error.c
index 6cb63f0c49..12eff42023 100644
--- a/source3/smbd/error.c
+++ b/source3/smbd/error.c
@@ -52,7 +52,7 @@ int unix_error_packet(char *outbuf,int def_class,uint32 def_code, NTSTATUS def_s
return error_packet(outbuf,eclass,ecode,ntstatus,line,file);
}
-BOOL use_nt_status(void)
+bool use_nt_status(void)
{
return lp_nt_status_support() && (global_client_caps & CAP_STATUS32);
}
@@ -66,8 +66,8 @@ BOOL use_nt_status(void)
void error_packet_set(char *outbuf, uint8 eclass, uint32 ecode, NTSTATUS ntstatus, int line, const char *file)
{
- BOOL force_nt_status = False;
- BOOL force_dos_status = False;
+ bool force_nt_status = False;
+ bool force_dos_status = False;
if (eclass == (uint8)-1) {
force_nt_status = True;