mirror of
https://github.com/samba-team/samba.git
synced 2024-12-31 17:18:04 +03:00
Revert "If it is a forced DOS error, nt_errstr should say so"
This reverts commit ef5489ac80
.
This commit is contained in:
parent
ef5489ac80
commit
e987e9956f
@ -658,11 +658,6 @@ const char *nt_errstr(NTSTATUS nt_code)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (NT_STATUS_IS_DOS(nt_code)) {
|
|
||||||
return smb_dos_err_name(NT_STATUS_DOS_CLASS(nt_code),
|
|
||||||
NT_STATUS_DOS_CODE(nt_code));
|
|
||||||
}
|
|
||||||
|
|
||||||
while (nt_errs[idx].nt_errstr != NULL) {
|
while (nt_errs[idx].nt_errstr != NULL) {
|
||||||
if (NT_STATUS_EQUAL(nt_errs[idx].nt_errcode, nt_code)) {
|
if (NT_STATUS_EQUAL(nt_errs[idx].nt_errcode, nt_code)) {
|
||||||
return nt_errs[idx].nt_errstr;
|
return nt_errs[idx].nt_errstr;
|
||||||
|
Loading…
Reference in New Issue
Block a user