summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-15 19:54:17 +0200
committerGünther Deschner <gd@samba.org>2008-10-15 19:54:17 +0200
commitca54a563d64ab789b84f8b6d9ea4cb63dee2c210 (patch)
tree2181e8a8c8aca6f8bcc7c62b203b5c53a31ecfe2 /source4
parente561c9acd5f1c91f0732f36d528d7123e75742ba (diff)
downloadsamba-ca54a563d64ab789b84f8b6d9ea4cb63dee2c210.tar.gz
samba-ca54a563d64ab789b84f8b6d9ea4cb63dee2c210.tar.bz2
samba-ca54a563d64ab789b84f8b6d9ea4cb63dee2c210.zip
s4: fix registry/rpc.c after winreg changes.
jelmer, can you check if this is ok? Guenther
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/rpc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/registry/rpc.c b/source4/lib/registry/rpc.c
index 6563fe02b0..bcf5c8dad4 100644
--- a/source4/lib/registry/rpc.c
+++ b/source4/lib/registry/rpc.c
@@ -263,12 +263,12 @@ static WERROR rpc_get_value_by_name(TALLOC_CTX *mem_ctx,
r.in.value_name = &name;
r.in.type = type;
r.in.data = &value;
- r.in.size = &val_size;
- r.in.length = &zero;
+ r.in.data_size = &val_size;
+ r.in.data_length = &zero;
r.out.type = type;
r.out.data = &value;
- r.out.size = &val_size;
- r.out.length = &zero;
+ r.out.data_size = &val_size;
+ r.out.data_length = &zero;
status = dcerpc_winreg_QueryValue(mykeydata->pipe, mem_ctx, &r);
@@ -278,7 +278,7 @@ static WERROR rpc_get_value_by_name(TALLOC_CTX *mem_ctx,
}
*type = *(r.out.type);
- *data = data_blob_talloc(mem_ctx, r.out.data, *r.out.length);
+ *data = data_blob_talloc(mem_ctx, r.out.data, *r.out.data_length);
return r.out.result;
}