summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-05 02:54:02 +0000
committerJeremy Allison <jra@samba.org>2002-03-05 02:54:02 +0000
commit7b07ecb750b137b9e28de5135d7d50b3c732654e (patch)
tree9969869b55cb6adf8a02eab13f2c6502f3b90dae /source3/libsmb
parentaa785249438587f32e129972c82096839f7ed798 (diff)
downloadsamba-7b07ecb750b137b9e28de5135d7d50b3c732654e.tar.gz
samba-7b07ecb750b137b9e28de5135d7d50b3c732654e.tar.bz2
samba-7b07ecb750b137b9e28de5135d7d50b3c732654e.zip
Fix error return.
Jeremy. (This used to be commit 3bec83cbe9b863176ca087fd45efa6d1457b502c)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cli_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cli_srvsvc.c b/source3/libsmb/cli_srvsvc.c
index 297ca1e8e0..9d33149540 100644
--- a/source3/libsmb/cli_srvsvc.c
+++ b/source3/libsmb/cli_srvsvc.c
@@ -69,7 +69,7 @@ NTSTATUS cli_srvsvc_net_srv_get_info(struct cli_state *cli,
goto done;
}
- result = r.status;
+ result = werror_to_ntstatus(r.status);
done:
prs_mem_free(&qbuf);