diff options
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r-- | source3/smbd/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index f49aca8429..19bd0c2d97 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -615,7 +615,7 @@ static NTSTATUS open_file(files_struct *fsp, fsp->can_write = (access_mask & (FILE_WRITE_DATA | FILE_APPEND_DATA)) ? True : False; } - fsp->print_file = False; + fsp->print_file = NULL; fsp->modified = False; fsp->sent_oplock_break = NO_BREAK_SENT; fsp->is_directory = False; @@ -2620,7 +2620,7 @@ static NTSTATUS open_directory(connection_struct *conn, * According to Samba4, SEC_FILE_READ_ATTRIBUTE is always granted, */ fsp->access_mask = access_mask | FILE_READ_ATTRIBUTES; - fsp->print_file = False; + fsp->print_file = NULL; fsp->modified = False; fsp->oplock_type = NO_OPLOCK; fsp->sent_oplock_break = NO_BREAK_SENT; |