summaryrefslogtreecommitdiff
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-31 15:45:45 -0700
committerJeremy Allison <jra@samba.org>2007-10-31 15:45:45 -0700
commit39d265375cf55eedddef2c4faa65398df73d5ed2 (patch)
tree22966feaa724c326204606a8ffb02c181c46866d /source/smbd/reply.c
parent8fbefe18a2dc23adb0ebe488cfb37ab4a382207d (diff)
downloadsamba-39d265375cf55eedddef2c4faa65398df73d5ed2.tar.gz
Fix some cases where file_set_dosmode was being passed
False instead of NULL. Fix more of the notifications to be correct for Samba4 RAW-NOTIFY torture (we had missed one when calling set_ea_dos_attribute(). Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 531e71fe73a..d2aa6c69299 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -1114,7 +1114,7 @@ void reply_setatr(connection_struct *conn, struct smb_request *req)
else
mode &= ~aDIR;
- if (file_set_dosmode(conn,fname,mode,&sbuf,False) != 0) {
+ if (file_set_dosmode(conn,fname,mode,&sbuf,NULL,false) != 0) {
reply_unixerror(req, ERRDOS, ERRnoaccess);
END_PROFILE(SMBsetatr);
return;