summaryrefslogtreecommitdiff
path: root/source3/libsmb/clierror.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-05 11:32:59 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-05 11:32:59 +0000
commitd53d5beeb29c0024556aae2f66f1d5bfe63960e5 (patch)
tree0b362c3ab60bf8bfeb6c3221d1627aa0b40d89df /source3/libsmb/clierror.c
parent851a06e1fd6ac0d921f96fe9e9529129b4b4c01d (diff)
downloadsamba-d53d5beeb29c0024556aae2f66f1d5bfe63960e5.tar.gz
samba-d53d5beeb29c0024556aae2f66f1d5bfe63960e5.tar.bz2
samba-d53d5beeb29c0024556aae2f66f1d5bfe63960e5.zip
use cli_is_error() instead of looking in smb_rcls, otherwise NT status
codes don't work correctly (This used to be commit 55d5828e608671f070a9e96938be0d16d50aeb26)
Diffstat (limited to 'source3/libsmb/clierror.c')
-rw-r--r--source3/libsmb/clierror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c
index 22c5dbaf77..5bc3992944 100644
--- a/source3/libsmb/clierror.c
+++ b/source3/libsmb/clierror.c
@@ -58,7 +58,7 @@ static struct
****************************************************************************/
static char *cli_smb_errstr(struct cli_state *cli)
{
- return smb_errstr(cli->inbuf);
+ return smb_dos_errstr(cli->inbuf);
}
/***************************************************************************