diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-04-05 09:52:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:50:40 -0500 |
commit | 2db2697aa439efd08fc78dc7e65d0ca8cda605c4 (patch) | |
tree | 0e47e872783a4d619d3d7e7de2bb8de601438560 | |
parent | 69c19afb6226e93a244490fa582200364a3b7069 (diff) | |
download | samba-2db2697aa439efd08fc78dc7e65d0ca8cda605c4.tar.gz samba-2db2697aa439efd08fc78dc7e65d0ca8cda605c4.tar.bz2 samba-2db2697aa439efd08fc78dc7e65d0ca8cda605c4.zip |
r33: Fix torture test after IDL changes.
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)
-rw-r--r-- | source4/torture/rpc/winreg.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index e074296531..9b90d30d5c 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -215,24 +215,15 @@ static BOOL test_EnumValue(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *handle) { struct winreg_EnumValue r; - struct winreg_EnumValueName name; struct winreg_Uint8buf value; - struct winreg_Uint16buf buf; + struct winreg_String name; uint32 type, requested_len, returned_len; NTSTATUS status; r.in.handle = handle; r.in.enum_index = 0; - buf.max_len = 0x7fff; - buf.offset = 0; - buf.len = 0; - buf.buffer = NULL; - - name.len = 0; - name.max_len = buf.max_len * 2; - name.buf = &buf; - + init_winreg_String(&name, NULL); r.in.name = r.out.name = &name; type = 0; |