summaryrefslogtreecommitdiff
path: root/source4/rpc_server/winreg
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-21 15:47:34 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-21 15:47:34 +0200
commit19aec78aec846e5f66b3930a4053beea30318c4a (patch)
tree52afedf30741778b09b31d0444c9a786c8bda112 /source4/rpc_server/winreg
parentd4d4a9da832a4c0c5bb080eb3b7c837fc57da31d (diff)
downloadsamba-19aec78aec846e5f66b3930a4053beea30318c4a.tar.gz
samba-19aec78aec846e5f66b3930a4053beea30318c4a.tar.bz2
samba-19aec78aec846e5f66b3930a4053beea30318c4a.zip
Fix the build.
Diffstat (limited to 'source4/rpc_server/winreg')
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index db11958026..aa94505041 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -496,7 +496,7 @@ static WERROR dcesrv_winreg_QueryValue(struct dcesrv_call_state *dce_call,
/* if the lookup wasn't successful, send client query back */
value_type = *r->in.type;
value_data.data = r->in.data;
- value_data.length = *r->in.length;
+ value_data.length = *r->in.data_length;
}
r->out.type = talloc(mem_ctx, uint32_t);
@@ -508,7 +508,7 @@ static WERROR dcesrv_winreg_QueryValue(struct dcesrv_call_state *dce_call,
if (!r->out.data_length) {
return WERR_NOMEM;
}
- *r->out.length = value_data.length;
+ *r->out.data_length = value_data.length;
r->out.data_size = talloc(mem_ctx, uint32_t);
if (!r->out.data_size) {
return WERR_NOMEM;