summaryrefslogtreecommitdiff
path: root/source3/libsmb/smberr.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-17 06:04:15 +0000
committerTim Potter <tpot@samba.org>2002-03-17 06:04:15 +0000
commita4cce223d6873400b053872a6e3b2eb8621eea45 (patch)
tree5b1b751221512035ab3588b72d9ef5cbdd35c55b /source3/libsmb/smberr.c
parentab13654dc9ac23872e4d1384e1c54e336f113009 (diff)
downloadsamba-a4cce223d6873400b053872a6e3b2eb8621eea45.tar.gz
Added dos_errstr() function. Not all errors in list yet.
(This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
Diffstat (limited to 'source3/libsmb/smberr.c')
-rw-r--r--source3/libsmb/smberr.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/libsmb/smberr.c b/source3/libsmb/smberr.c
index 757629a2d52..84b3f507e63 100644
--- a/source3/libsmb/smberr.c
+++ b/source3/libsmb/smberr.c
@@ -245,18 +245,6 @@ char *smb_dos_errstr(char *inbuf)
return(ret);
}
-
-/*****************************************************************************
- returns an WERROR error message.
- *****************************************************************************/
-char *werror_str(WERROR status)
-{
- static fstring msg;
- slprintf(msg, sizeof(msg), "WIN32 code 0x%08x", W_ERROR_V(status));
- return msg;
-}
-
-
/*****************************************************************************
map a unix errno to a win32 error
*****************************************************************************/