summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-16 03:49:15 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-16 03:49:15 +0000
commit9bae3609ac791b7cccdddc2cba4431d78eff60ef (patch)
tree32552d1cb973ea52d07c5842c1bbb82bbe5482ad
parent4d89a65a845dbf6f8fa8aa46d2631cfd3a879e0a (diff)
downloadsamba-9bae3609ac791b7cccdddc2cba4431d78eff60ef.tar.gz
samba-9bae3609ac791b7cccdddc2cba4431d78eff60ef.tar.bz2
samba-9bae3609ac791b7cccdddc2cba4431d78eff60ef.zip
fixed compilation error in smbw
(This used to be commit d1e9fb7778268a626b0550fa350d55d8eec7706e)
-rw-r--r--source3/smbwrapper/smbw.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 95739bac5a..d5b61ac997 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/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 */