diff options
author | Tim Potter <tpot@samba.org> | 2002-03-17 06:04:15 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-03-17 06:04:15 +0000 |
commit | a4cce223d6873400b053872a6e3b2eb8621eea45 (patch) | |
tree | 5b1b751221512035ab3588b72d9ef5cbdd35c55b /source3/libsmb/smberr.c | |
parent | ab13654dc9ac23872e4d1384e1c54e336f113009 (diff) | |
download | samba-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.c | 12 |
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 *****************************************************************************/ |