]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix a copy&paste error in a comment
authorVolker Lendecke <vl@samba.org>
Sun, 14 Sep 2025 17:26:13 +0000 (10:26 -0700)
committerRalph Boehme <slow@samba.org>
Tue, 21 Oct 2025 17:33:29 +0000 (17:33 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/smb2_nttrans.c

index 06eb04c8a07a8aa379bf4257ade4fc5c24125afe..37d49f8289a2db9173de6c0ce65111a4fd653083 100644 (file)
@@ -313,7 +313,7 @@ NTSTATUS copy_internals(TALLOC_CTX *ctx,
                goto out;
        }
 
-       /* No links from a directory. */
+       /* No copy from a directory. */
        if (S_ISDIR(smb_fname_src->st.st_ex_mode)) {
                status = NT_STATUS_FILE_IS_A_DIRECTORY;
                goto out;