summaryrefslogtreecommitdiff
path: root/source4/rpc_server/winreg
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-15 17:38:51 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-15 17:38:51 +0200
commitada0e343b2225471a8e623aca7d9aa314857af6c (patch)
tree13edb511f0a28f2db3da723485bc4bfdfb18cad0 /source4/rpc_server/winreg
parentfed4658c1bb7112b32653cbb4ce1856d6fbc7b34 (diff)
downloadsamba-ada0e343b2225471a8e623aca7d9aa314857af6c.tar.gz
samba-ada0e343b2225471a8e623aca7d9aa314857af6c.tar.bz2
samba-ada0e343b2225471a8e623aca7d9aa314857af6c.zip
Sync parameter names with samba 3.
Diffstat (limited to 'source4/rpc_server/winreg')
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index 3b226c8341..e295634c62 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -470,16 +470,16 @@ static WERROR dcesrv_winreg_QueryValue(struct dcesrv_call_state *dce_call,
return WERR_NOMEM;
}
*r->out.type = value_type;
- r->out.length = talloc(mem_ctx, uint32_t);
- if (!r->out.length) {
+ r->out.data_length = talloc(mem_ctx, uint32_t);
+ if (!r->out.data_length) {
return WERR_NOMEM;
}
- *r->out.length = value_data.length;
+ *r->out.data_length = value_data.length;
if (r->in.data == NULL) {
- r->out.size = talloc(mem_ctx, uint32_t);
- *r->out.size = value_data.length;
+ r->out.data_size = talloc(mem_ctx, uint32_t);
+ *r->out.data_size = value_data.length;
} else {
- r->out.size = r->in.size;
+ r->out.data_size = r->in.data_size;
r->out.data = value_data.data;
}