summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-04-23 14:26:33 -0700
committerJeremy Allison <jra@samba.org>2010-04-23 14:26:33 -0700
commit168b86c3847a5b575eef36cc2308802cbd25bb4a (patch)
tree28546e3b7bb429a06bfbba51b3cbcefe2b59be33 /source3/modules
parent2bbb8c917e372ceeb1e144259d9d2b0eab7cc212 (diff)
downloadsamba-168b86c3847a5b575eef36cc2308802cbd25bb4a.tar.gz
samba-168b86c3847a5b575eef36cc2308802cbd25bb4a.tar.bz2
samba-168b86c3847a5b575eef36cc2308802cbd25bb4a.zip
s3-smbd: group print relate data in own structure
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/onefs_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/onefs_open.c b/source3/modules/onefs_open.c
index e97fe9e38a..dd4c24555f 100644
--- a/source3/modules/onefs_open.c
+++ b/source3/modules/onefs_open.c
@@ -313,7 +313,7 @@ static NTSTATUS onefs_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;
@@ -1627,7 +1627,7 @@ static NTSTATUS onefs_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;