summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-19 23:18:35 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-19 23:18:35 +0000
commit25de3041e6926f4adca229862dfb7e85dad35809 (patch)
tree197745f28798b974bcad0712dd61a97c5295cb2e /source4/torture/rpc
parente1e98ab0496ae38b2d68d50133ec1da532f02757 (diff)
downloadsamba-25de3041e6926f4adca229862dfb7e85dad35809.tar.gz
samba-25de3041e6926f4adca229862dfb7e85dad35809.tar.bz2
samba-25de3041e6926f4adca229862dfb7e85dad35809.zip
fixed wkssvc idl and test code for TransportEnum
(This used to be commit 42639a8f66e8d4241b24935772552f235f863096)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/wkssvc.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c
index 9d576c2020..ed1f5d4400 100644
--- a/source4/torture/rpc/wkssvc.c
+++ b/source4/torture/rpc/wkssvc.c
@@ -53,18 +53,14 @@ static BOOL test_TransportEnum(struct dcerpc_pipe *p,
NTSTATUS status;
struct wkssvc_TransportEnum r;
BOOL ret = True;
- struct wkssvc_TransportInfo info;
uint32 resume_handle = 0;
- struct wkssvc_TransportInfoArray info_array;
+ struct wkssvc_TransportInfoArray array;
- ZERO_STRUCT(info);
- ZERO_STRUCT(info_array);
-
- info.u.array = NULL;
+ ZERO_STRUCT(array);
r.in.server_name = dcerpc_server_name(p);
- r.in.info = &info;
- r.out.info = &info;
+ r.in.level = 0;
+ r.in.info.array = &array;
r.in.max_buffer = (uint32)-1;
r.in.resume_handle = &resume_handle;
r.out.resume_handle = &resume_handle;