diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-16 03:49:15 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-16 03:49:15 +0000 |
commit | d1e9fb7778268a626b0550fa350d55d8eec7706e (patch) | |
tree | 59595a11200b1cf71728c350cff6f657c6f85752 /source/smbwrapper | |
parent | d618880661976644a6ee713edf969ad561e82097 (diff) | |
download | samba-d1e9fb7778268a626b0550fa350d55d8eec7706e.tar.gz samba-d1e9fb7778268a626b0550fa350d55d8eec7706e.tar.xz samba-d1e9fb7778268a626b0550fa350d55d8eec7706e.zip |
fixed compilation error in smbw
Diffstat (limited to 'source/smbwrapper')
-rw-r--r-- | source/smbwrapper/smbw.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/smbwrapper/smbw.c b/source/smbwrapper/smbw.c index 95739bac5a1..d5b61ac9976 100644 --- a/source/smbwrapper/smbw.c +++ b/source/smbwrapper/smbw.c @@ -400,17 +400,7 @@ return a unix errno from a SMB error pair *******************************************************/ int smbw_errno(struct cli_state *c) { - uint8 eclass; - uint32 ecode; - int ret; - - ret = cli_error(c, &eclass, &ecode, NULL); - - if (ret) { - DEBUG(3,("smbw_error %d %d (0x%x) -> %d\n", - (int)eclass, (int)ecode, (int)ecode, ret)); - } - return ret; + return cli_errno(c); } /* Return a username and password given a server and share name */ |