From 03fb36bd534a1ff13340e8d322c1e13eeef8ef43 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 14 Jul 2008 14:36:44 +0000 Subject: [PATCH 1/1] windows-smb-misc-two-20080714 LICENSE MIT Fix the assignment of SMB_ATTR_DIRECTORY. Apply it to the correct field name. --- src/WINNT/afsd/smb3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WINNT/afsd/smb3.c b/src/WINNT/afsd/smb3.c index 9bdcf00..f3d55cc 100644 --- a/src/WINNT/afsd/smb3.c +++ b/src/WINNT/afsd/smb3.c @@ -4108,9 +4108,9 @@ smb_ApplyV3DirListPatches(cm_scache_t *dscp,smb_dirListPatch_t **dirPatchespp, * and odd means it is to be treated as a file. */ if (mustFake && (scp->fid.vnode & 0x1)) - fa->extFileAttributes = SMB_ATTR_DIRECTORY; + fa->attributes = SMB_ATTR_DIRECTORY; else - fa->extFileAttributes = SMB_ATTR_NORMAL; + fa->attributes = SMB_ATTR_NORMAL; } /* merge in hidden (dot file) attribute */ if ( patchp->flags & SMB_DIRLISTPATCH_DOTFILE ) { -- 1.9.4