summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-12-21 07:57:49 +0000
committerAndrew Tridgell <tridge@samba.org>2003-12-21 07:57:49 +0000
commit932bcc4a3c0082d05baadf3ce35db0f3f147791f (patch)
tree8b5890ee8954500b93b8d383885cb69a5399e0eb /source4/torture/rpc
parent8068c5a9f0310f9197f1edce08e8d57488def7bd (diff)
downloadsamba-932bcc4a3c0082d05baadf3ce35db0f3f147791f.tar.gz
samba-932bcc4a3c0082d05baadf3ce35db0f3f147791f.tar.bz2
samba-932bcc4a3c0082d05baadf3ce35db0f3f147791f.zip
minor updates to make the srvsvc test compile
(This used to be commit 564e505e925d67be00ca2cbe21b2b9b33a1ac0c7)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/srvsvc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c
index f699cb426b..42a53f8567 100644
--- a/source4/torture/rpc/srvsvc.c
+++ b/source4/torture/rpc/srvsvc.c
@@ -37,7 +37,7 @@ static BOOL test_NetConnEnum(struct dcerpc_pipe *p,
r.in.ctr.ctr0 = &c0;
r.in.ctr.ctr0->count = 0;
r.in.ctr.ctr0->array = NULL;
- r.in.preferred_len = (uint32)-1;
+ r.in.max_buffer = (uint32)-1;
r.in.resume_handle = NULL;
for (i=0;i<ARRAY_SIZE(levels);i++) {
@@ -69,7 +69,7 @@ static BOOL test_NetFileEnum(struct dcerpc_pipe *p,
r.in.ctr.ctr3 = &c3;
r.in.ctr.ctr3->count = 0;
r.in.ctr.ctr3->array = NULL;
- r.in.preferred_len = (uint32)4096;
+ r.in.max_buffer = (uint32)4096;
r.in.resume_handle = NULL;
for (i=0;i<ARRAY_SIZE(levels);i++) {
@@ -101,7 +101,7 @@ static BOOL test_NetSessEnum(struct dcerpc_pipe *p,
r.in.ctr.ctr0 = &c0;
r.in.ctr.ctr0->count = 0;
r.in.ctr.ctr0->array = NULL;
- r.in.preferred_len = (uint32)-1;
+ r.in.max_buffer = (uint32)-1;
r.in.resume_handle = NULL;
for (i=0;i<ARRAY_SIZE(levels);i++) {
@@ -195,7 +195,7 @@ static BOOL test_NetTransportEnum(struct dcerpc_pipe *p,
r.in.ctr.ctr0 = &c0;
r.in.ctr.ctr0->count = 0;
r.in.ctr.ctr0->array = NULL;
- r.in.preferred_len = (uint32)-1;
+ r.in.max_buffer = (uint32)-1;
r.in.resume_handle = NULL;
for (i=0;i<ARRAY_SIZE(levels);i++) {
@@ -225,7 +225,7 @@ static BOOL test_NetShareEnum(struct dcerpc_pipe *p,
r.in.ctr.ctr0 = &c0;
r.in.ctr.ctr0->count = 0;
r.in.ctr.ctr0->array = NULL;
- r.in.preferred_len = (uint32)-1;
+ r.in.max_buffer = (uint32)-1;
r.in.resume_handle = NULL;
for (i=0;i<ARRAY_SIZE(levels);i++) {