changing error code when path is too long
This commit is contained in:
parent
7f338d871b
commit
57baa75f04
4 changed files with 4 additions and 3 deletions
|
|
@ -4036,6 +4036,7 @@ NTSTATUS map_querydir_errors(
|
|||
case ERROR_INVALID_PARAMETER: return STATUS_INVALID_PARAMETER;
|
||||
case ERROR_NO_MORE_FILES: return STATUS_NO_MORE_FILES;
|
||||
case ERROR_OUTOFMEMORY: return STATUS_INSUFFICIENT_RESOURCES;
|
||||
case ERROR_FILENAME_EXCED_RANGE: return STATUS_NAME_TOO_LONG;
|
||||
default:
|
||||
print_error("failed to map windows error %d to NTSTATUS; "
|
||||
"defaulting to STATUS_INVALID_NETWORK_RESPONSE\n", status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue