mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
smbd: Fix a typo
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
a395f752f0
commit
38e5b39eac
@ -665,8 +665,10 @@ void reply_getatr(struct smb_request *req)
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* dos smetimes asks for a stat of "" - it returns a "hidden directory"
|
||||
under WfWg - weird! */
|
||||
/*
|
||||
* dos sometimes asks for a stat of "" - it returns a "hidden
|
||||
* directory" under WfWg - weird!
|
||||
*/
|
||||
if (*fname == '\0') {
|
||||
mode = FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_DIRECTORY;
|
||||
if (!CAN_WRITE(conn)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user