1
0
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:
Volker Lendecke 2022-06-02 15:48:37 +02:00 committed by Jeremy Allison
parent a395f752f0
commit 38e5b39eac

View File

@ -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)) {