mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
src: dotnet: FileSystemBase: GetStreamInfo: bug fix
This commit is contained in:
parent
bd7546559c
commit
1ee95be5d7
@ -329,11 +329,10 @@ namespace Fsp
|
||||
{
|
||||
Object Context = null;
|
||||
String StreamName;
|
||||
UInt64 StreamSize, StreamAllocationSize;
|
||||
StreamInfo StreamInfo = default(StreamInfo);
|
||||
BytesTransferred = default(UInt32);
|
||||
while (GetStreamEntry(FileNode, FileDesc,
|
||||
ref Context, out StreamName, out StreamSize, out StreamAllocationSize))
|
||||
while (GetStreamEntry(FileNode, FileDesc, ref Context,
|
||||
out StreamName, out StreamInfo.StreamSize, out StreamInfo.StreamAllocationSize))
|
||||
{
|
||||
StreamInfo.SetStreamNameBuf(StreamName);
|
||||
if (!Api.FspFileSystemAddStreamInfo(ref StreamInfo, Buffer, Length,
|
||||
|
Loading…
x
Reference in New Issue
Block a user