From e6f956f9b43179c9132fbfe6924700881a249e2b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 27 Nov 2002 02:23:25 +0000 Subject: fix cli_ds_getprimarydominfo(); merge from SAMBA_3_0 (This used to be commit 481a8a8aa9dff336929cb168302f3faa3f046aa8) --- source3/rpc_client/cli_ds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/rpc_client/cli_ds.c b/source3/rpc_client/cli_ds.c index 46e24b7a84..f0edeca000 100644 --- a/source3/rpc_client/cli_ds.c +++ b/source3/rpc_client/cli_ds.c @@ -62,7 +62,7 @@ NTSTATUS cli_ds_getprimarydominfo(struct cli_state *cli, TALLOC_CTX *mem_ctx, ctr->basic = talloc(mem_ctx, sizeof(DSROLE_PRIMARY_DOMAIN_INFO_BASIC)); if (!ctr->basic) goto done; - memcpy(ctr->basic, &r.info.basic, sizeof(DSROLE_PRIMARY_DOMAIN_INFO_BASIC)); + memcpy(ctr->basic, r.info.basic, sizeof(DSROLE_PRIMARY_DOMAIN_INFO_BASIC)); } done: -- cgit