summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-11-27 02:22:53 +0000
committerGerald Carter <jerry@samba.org>2002-11-27 02:22:53 +0000
commit0c1a06dfad03a45dc5cfff027dacd6e95194a786 (patch)
treeb636cf6a465ace50e9a047282da0c32dd476206e /source3/rpc_client
parent72948b91a01e8da944ee12d46f5e757b51b64c8e (diff)
downloadsamba-0c1a06dfad03a45dc5cfff027dacd6e95194a786.tar.gz
samba-0c1a06dfad03a45dc5cfff027dacd6e95194a786.tar.bz2
samba-0c1a06dfad03a45dc5cfff027dacd6e95194a786.zip
* finializnig RedHat package for alpha21 release
* fix cli_ds_getprimarydominfo() (bad memcpy() ) (This used to be commit e6184bbd8f87586e8cc98e4c599cf8e16f310bb9)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_ds.c2
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: