mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
winnt-fileinfo-is-directory-20030710
correctly report directories by not setting field in incorrect position in reply.
This commit is contained in:
parent
ddac9ce59a
commit
7eeb271d9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user