summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-02-16 15:13:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:24 -0500
commitb7a46675fb1157ab235008edf841ae7eed628049 (patch)
treee8d8c82e72f998b601008c4562805b9ba9dc66f5 /source4/lib
parent0fd260039498ac8331665cd2102b597198f58fbb (diff)
downloadsamba-b7a46675fb1157ab235008edf841ae7eed628049.tar.gz
samba-b7a46675fb1157ab235008edf841ae7eed628049.tar.bz2
samba-b7a46675fb1157ab235008edf841ae7eed628049.zip
r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL.
(This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/registry/reg_backend_rpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/registry/reg_backend_rpc.c b/source4/lib/registry/reg_backend_rpc.c
index 5e0cf303e0..7e81023acb 100644
--- a/source4/lib/registry/reg_backend_rpc.c
+++ b/source4/lib/registry/reg_backend_rpc.c
@@ -280,7 +280,8 @@ static WERROR rpc_query_key(const struct registry_key *k)
struct rpc_key_data *mykeydata = k->backend_data;
TALLOC_CTX *mem_ctx = talloc_init("query_key");
- init_winreg_String(&r.in.class_in, NULL);
+ r.in.classname = talloc(mem_ctx, struct winreg_String);
+ init_winreg_String(r.in.classname, NULL);
r.in.handle = &mykeydata->pol;
status = dcerpc_winreg_QueryInfoKey((struct dcerpc_pipe *)(k->hive->backend_data), mem_ctx, &r);