summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-29 20:44:04 +0100
committerGünther Deschner <gd@samba.org>2008-10-31 02:44:32 +0100
commit6e9d69e4c8037aa23ad4bb7fd18399a96d7a740c (patch)
tree1159517456f4dfd832fa7e3fb73768ecd25a1618 /source4/torture
parentc982b369308aba34d772159435fee28ab708fbda (diff)
downloadsamba-6e9d69e4c8037aa23ad4bb7fd18399a96d7a740c.tar.gz
samba-6e9d69e4c8037aa23ad4bb7fd18399a96d7a740c.tar.bz2
samba-6e9d69e4c8037aa23ad4bb7fd18399a96d7a740c.zip
s4-srvsvc: merge srvsvc_NetCharDevGetInfo from s3 idl.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/srvsvc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c
index 8ce2321369..0b53e3b066 100644
--- a/source4/torture/rpc/srvsvc.c
+++ b/source4/torture/rpc/srvsvc.c
@@ -32,14 +32,15 @@ static bool test_NetCharDevGetInfo(struct dcerpc_pipe *p, struct torture_context
{
NTSTATUS status;
struct srvsvc_NetCharDevGetInfo r;
+ union srvsvc_NetCharDevInfo info;
uint32_t levels[] = {0, 1};
int i;
r.in.server_unc = talloc_asprintf(tctx,"\\\\%s",dcerpc_server_name(p));
r.in.device_name = devname;
+ r.out.info = &info;
for (i=0;i<ARRAY_SIZE(levels);i++) {
- ZERO_STRUCT(r.out);
r.in.level = levels[i];
torture_comment(tctx, "testing NetCharDevGetInfo level %u on device '%s'\n",
r.in.level, r.in.device_name);