git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
077c788
)
windows-smb-misc-two-20080714
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Mon, 14 Jul 2008 14:36:44 +0000 (14:36 +0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Mon, 14 Jul 2008 14:36:44 +0000 (14:36 +0000)
LICENSE MIT
Fix the assignment of SMB_ATTR_DIRECTORY. Apply it to the correct field
name.
src/WINNT/afsd/smb3.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/smb3.c
b/src/WINNT/afsd/smb3.c
index
9bdcf00
..
f3d55cc
100644
(file)
--- 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 ) {