1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

Revert "If it is a forced DOS error, nt_errstr should say so"

This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f.
(This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)
This commit is contained in:
Volker Lendecke 2008-08-13 18:19:06 +02:00
parent 870c54ebb4
commit 8d03db99b8

View File

@ -658,11 +658,6 @@ const char *nt_errstr(NTSTATUS nt_code)
}
#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) {
if (NT_STATUS_EQUAL(nt_errs[idx].nt_errcode, nt_code)) {
return nt_errs[idx].nt_errstr;