This commit is contained in:
parent
1d88d26d0a
commit
a8723a6b02
@ -1460,7 +1460,8 @@ auto remote_server::winfsp_rename(PVOID /*file_desc*/, PWSTR file_name,
|
||||
res = drive_.rename_directory(construct_api_path(file_path),
|
||||
construct_api_path(new_file_path));
|
||||
event_system::instance().raise<debug_log>(
|
||||
function_name, fmt::format("path|{}|res|{}|errno|", res, errno));
|
||||
function_name,
|
||||
fmt::format("path|{}|res|{}|errno|{}", file_path, res, errno));
|
||||
ret = ((res < 0)
|
||||
? errno == EISDIR
|
||||
? static_cast<packet::error_type>(STATUS_ACCESS_DENIED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user