SMBServer: Include share name when listing open files

This commit is contained in:
Tal Aloni 2017-07-30 15:22:16 +03:00
parent 4c84a297f8
commit de256fdb51
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ namespace SMBLibrary.Server
{
foreach (OpenFileObject openFile in m_openFiles.Values)
{
result.Add(openFile.Path);
result.Add(@"\" + openFile.ShareName + openFile.Path);
}
}
return result;

View file

@ -171,7 +171,7 @@ namespace SMBLibrary.Server
{
foreach (OpenFileObject openFile in m_openFiles.Values)
{
result.Add(openFile.Path);
result.Add(@"\" + openFile.ShareName + openFile.Path);
}
}
return result;