diff options
author | Gerald Carter <jerry@samba.org> | 2002-11-27 02:23:25 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-11-27 02:23:25 +0000 |
commit | e6f956f9b43179c9132fbfe6924700881a249e2b (patch) | |
tree | 9b3f8e0d4c87d84494352fbe9fce34ef79d1b00c /source3 | |
parent | 8963cf1e58f763ea499d9918b3438d5f25ff5ba3 (diff) | |
download | samba-e6f956f9b43179c9132fbfe6924700881a249e2b.tar.gz samba-e6f956f9b43179c9132fbfe6924700881a249e2b.tar.bz2 samba-e6f956f9b43179c9132fbfe6924700881a249e2b.zip |
fix cli_ds_getprimarydominfo(); merge from SAMBA_3_0
(This used to be commit 481a8a8aa9dff336929cb168302f3faa3f046aa8)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |