git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839a2fb
)
s3: smbd: Reformat caller of user_can_write_file().
author
Jeremy Allison
<jra@samba.org>
Thu, 30 Apr 2020 22:30:40 +0000
(15:30 -0700)
committer
Ralph Boehme
<slow@samba.org>
Mon, 4 May 2020 13:55:32 +0000
(13:55 +0000)
Make new parameter addition clearer.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/dir.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dir.c
b/source3/smbd/dir.c
index 144f193ffbb60cc0235d7519044d95a866641462..1ac273664f898f514a55a0843bd7f807d4d2bfd5 100644
(file)
--- a/
source3/smbd/dir.c
+++ b/
source3/smbd/dir.c
@@
-1279,8
+1279,10
@@
bool is_visible_file(connection_struct *conn,
goto out;
}
/* Honour _hide unwriteable_ option */
- if (hide_unwriteable && !user_can_write_file(conn,
- smb_fname_base)) {
+ if (hide_unwriteable &&
+ !user_can_write_file(conn,
+ smb_fname_base))
+ {
DEBUG(10,("is_visible_file: file %s is unwritable.\n",
entry ));
ret = false;