summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/winreg.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2008-09-19 16:03:20 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-21 23:18:01 +0200
commit89b23974d3efa3d8a1e97cf49c2f949d3fa52ffa (patch)
tree8a2585a6edcea45b47ce77e223a9234585b2d319 /source4/torture/rpc/winreg.c
parent08953e44db2d3369c51324bb21474830cd24dd4b (diff)
downloadsamba-89b23974d3efa3d8a1e97cf49c2f949d3fa52ffa.tar.gz
samba-89b23974d3efa3d8a1e97cf49c2f949d3fa52ffa.tar.bz2
samba-89b23974d3efa3d8a1e97cf49c2f949d3fa52ffa.zip
Torture suite: Revert some changes because they aren't necessary
This reverts some changes made by me because they aren't necessary. The "ZERO_STRUCT"'s remain in.
Diffstat (limited to 'source4/torture/rpc/winreg.c')
-rw-r--r--source4/torture/rpc/winreg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index eb439bd5f6..898813f807 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -1440,7 +1440,6 @@ static bool test_EnumKey(struct dcerpc_pipe *p, struct torture_context *tctx,
NTTIME t = 0;
class.name = "";
- class.length = 0;
class.size = 1024;
ZERO_STRUCT(r);
@@ -1453,7 +1452,6 @@ static bool test_EnumKey(struct dcerpc_pipe *p, struct torture_context *tctx,
do {
name.name = NULL;
- name.length = 0;
name.size = 1024;
status = dcerpc_winreg_EnumKey(p, tctx, &r);
@@ -1568,7 +1566,6 @@ static bool test_EnumValue(struct dcerpc_pipe *p, struct torture_context *tctx,
struct winreg_StringBuf name;
name.name = "";
- name.length = 0;
name.size = 1024;
ZERO_STRUCT(r);