1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-02 08:58:33 +03:00

r33: Fix torture test after IDL changes.

(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)
This commit is contained in:
Jelmer Vernooij 2004-04-05 09:52:09 +00:00 committed by Gerald (Jerry) Carter
parent 69c19afb62
commit 2db2697aa4

View File

@ -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;