summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-13 18:19:06 +0200
committerVolker Lendecke <vl@samba.org>2008-08-13 18:19:06 +0200
commit8d03db99b8c0623929f9351940a7e80adbf45e73 (patch)
treeb773e7403484423fb2f57c6e088c2b1e08433eab /source3/libsmb
parent870c54ebb4097d14e3e89a3b81df4c3fc9b57ad3 (diff)
downloadsamba-8d03db99b8c0623929f9351940a7e80adbf45e73.tar.gz
samba-8d03db99b8c0623929f9351940a7e80adbf45e73.tar.bz2
samba-8d03db99b8c0623929f9351940a7e80adbf45e73.zip
Revert "If it is a forced DOS error, nt_errstr should say so"
This reverts commit ef5489ac805237274d6088aaa7ae870cc0deb52f. (This used to be commit e987e9956f02557c7ec87a369b92f87083fda620)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/nterr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c
index a52a1bc6e1..fc6340342f 100644
--- a/source3/libsmb/nterr.c
+++ b/source3/libsmb/nterr.c
@@ -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;