summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2008-01-31 16:44:57 +0300
committerAlexander Bokovoy <ab@samba.org>2008-01-31 16:44:57 +0300
commitd3ee93596f574be2d0263efb92b2c38cf47a1a9d (patch)
treef8c85be24197a87f2b8a7dbdb9392bbb81260dd7 /source3/lib
parent4259d115478750d7b38cd6c2f20777b27f017e69 (diff)
parent8d8d955b98039d48e1aca6396bbdbc11d9141c21 (diff)
downloadsamba-d3ee93596f574be2d0263efb92b2c38cf47a1a9d.tar.gz
samba-d3ee93596f574be2d0263efb92b2c38cf47a1a9d.tar.bz2
samba-d3ee93596f574be2d0263efb92b2c38cf47a1a9d.zip
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into dmapi-integration
(This used to be commit 974cf508fb5ba2ba3bd8fe7ae79710c9396d1d06)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/getdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/netapi/getdc.c b/source3/lib/netapi/getdc.c
index 1084ddc3c8..2626eb0af4 100644
--- a/source3/lib/netapi/getdc.c
+++ b/source3/lib/netapi/getdc.c
@@ -69,8 +69,8 @@ static WERROR NetGetDCNameRemote(struct libnetapi_ctx *ctx,
status = rpccli_netr_GetDcName(pipe_cli, ctx,
server_name,
domain_name,
- (const char **)buffer);
- werr = ntstatus_to_werror(status);
+ (const char **)buffer,
+ &werr);
done:
if (cli) {
cli_shutdown(cli);