git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ddac9ce
)
winnt-fileinfo-is-directory-20030710
author
Robert S. Murawski
<rsm4@cssd.pitt.edu>
Fri, 11 Jul 2003 03:12:46 +0000 (
03:12
+0000)
committer
Derrick Brashear
<shadow@dementia.org>
Fri, 11 Jul 2003 03:12:46 +0000 (
03:12
+0000)
correctly report directories by not setting field in incorrect position
in reply.
src/WINNT/afsd/smb3.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/smb3.c
b/src/WINNT/afsd/smb3.c
index
f5c38ec
..
fd125bb
100644
(file)
--- a/
src/WINNT/afsd/smb3.c
+++ b/
src/WINNT/afsd/smb3.c
@@
-1345,9
+1345,9
@@
long smb_ReceiveTran2QFileInfo(smb_vc_t *vcp, smb_tran2Packet_t *p, smb_packet_t
*((LARGE_INTEGER *)op) = scp->length; op += 8; /* EOF */
*((u_long *)op) = scp->linkCount; op += 4;
*op++ = ((fidp->flags & SMB_FID_DELONCLOSE) ? 1 : 0);
- *op++ = 0;
*op++ = (scp->fileType == CM_SCACHETYPE_DIRECTORY ? 1 : 0);
*op++ = 0;
+ *op++ = 0;
}
else if (infoLevel == 0x103) {
*((u_long *)op) = 0; op += 4;