summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-12-06 03:53:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:07 -0500
commitd55ab321b26239209316d9f1e9f0f031ddab2ae2 (patch)
tree460717b49098be84ac9c27ef9049d7ac46405e6f /source4/torture/rpc
parent08377f458e2a7281094d286b6fe672155e244597 (diff)
downloadsamba-d55ab321b26239209316d9f1e9f0f031ddab2ae2.tar.gz
samba-d55ab321b26239209316d9f1e9f0f031ddab2ae2.tar.bz2
samba-d55ab321b26239209316d9f1e9f0f031ddab2ae2.zip
r12085: wkssvc.idl updated based on work by Ronnie Sahlberg to bring the
Samba4 and ethereal IDL into line, so ethereal doesn't lose any existing strucutres when switching to idl (This used to be commit afccf73ecf6cf85e72c04e28724096aa6da96a80)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/wkssvc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c
index 47e893ae2e..7b8388b125 100644
--- a/source4/torture/rpc/wkssvc.c
+++ b/source4/torture/rpc/wkssvc.c
@@ -58,13 +58,15 @@ static BOOL test_NetWkstaTransportEnum(struct dcerpc_pipe *p,
struct wkssvc_NetWkstaTransportEnum r;
BOOL ret = True;
uint32_t resume_handle = 0;
+ union wkssvc_NetWkstaTransportCtr ctr;
struct wkssvc_NetWkstaTransportCtr0 ctr0;
ZERO_STRUCT(ctr0);
+ ctr.ctr0 = &ctr0;
r.in.server_name = dcerpc_server_name(p);
r.in.level = 0;
- r.in.ctr.ctr0 = &ctr0;
+ r.in.ctr = &ctr;
r.in.max_buffer = (uint32_t)-1;
r.in.resume_handle = &resume_handle;
r.out.resume_handle = &resume_handle;