diff options
author | Tim Potter <tpot@samba.org> | 2001-08-10 06:16:05 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-08-10 06:16:05 +0000 |
commit | afbca61a28896696259911a087e0a002903c1399 (patch) | |
tree | 746b939ecf7c2f65c3960cc4af4d9ca7458a325e /source3/libsmb/libsmbclient.c | |
parent | 5836e1f7febc1361f695258f7c0a8f7f95dc3617 (diff) | |
download | samba-afbca61a28896696259911a087e0a002903c1399.tar.gz samba-afbca61a28896696259911a087e0a002903c1399.tar.bz2 samba-afbca61a28896696259911a087e0a002903c1399.zip |
Fixes for new client error api.
(This used to be commit 9c57e45d443a3cf6215318d1355cac18ff57a8b5)
Diffstat (limited to 'source3/libsmb/libsmbclient.c')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index a86447a094..581af9b957 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -209,7 +209,7 @@ int smbc_errno(struct cli_state *c) } else { uint32 status; - cli_nt_error(c, &status); + status = cli_nt_error(c); ret = cli_errno_from_nt(status); DEBUG(3,("smbc errno 0x%08x -> %d\n", @@ -1579,7 +1579,7 @@ int smbc_opendir(const char *fname) free(smbc_file_table[slot]); } smbc_file_table[slot] = NULL; - errno = cli_errno(dos_error(&srv->cli); + errno = cli_errno(&srv->cli); return -1; } |