summaryrefslogtreecommitdiff
path: root/source3/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
commit8f1f2f04c796a8659d93bafadefca4a98fee00f0 (patch)
tree48921021ab7133572ee5540d5613c1352f05801a /source3/smbd/reply.c
parent695c4a7a741f1a8a00a4dc867cc3ef731bfc093f (diff)
downloadsamba-8f1f2f04c796a8659d93bafadefca4a98fee00f0.tar.gz
samba-8f1f2f04c796a8659d93bafadefca4a98fee00f0.tar.bz2
samba-8f1f2f04c796a8659d93bafadefca4a98fee00f0.zip
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. (This used to be commit 39d265375cf55eedddef2c4faa65398df73d5ed2)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 531e71fe73..d2aa6c6929 100644
--- a/source3/smbd/reply.c
+++ b/source3/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;