mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
memfs: empty Mountpoint ("") now means autodetect (same as no MountPoint)
This commit is contained in:
parent
22d1f86ac1
commit
e4e2465bcb
@ -90,7 +90,8 @@ NTSTATUS SvcStart(FSP_SERVICE *Service, ULONG argc, PWSTR *argv)
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
Result = FspFileSystemSetMountPoint(MemfsFileSystem(Memfs), MountPoint);
|
Result = FspFileSystemSetMountPoint(MemfsFileSystem(Memfs),
|
||||||
|
MountPoint && MountPoint[0] ? MountPoint : 0);
|
||||||
if (!NT_SUCCESS(Result))
|
if (!NT_SUCCESS(Result))
|
||||||
{
|
{
|
||||||
fail(L"cannot mount MEMFS");
|
fail(L"cannot mount MEMFS");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user