diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-11-23 00:34:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:28:25 -0500 |
commit | 68ebe2572406aaf7f61cd0b51fd02b5c11502a80 (patch) | |
tree | a9bc4fd837ade64eba770ae36b58a76034c95b01 /source4/torture/rpc | |
parent | 9671a72a4c3e0950585575da72e2c740f294031c (diff) | |
download | samba-68ebe2572406aaf7f61cd0b51fd02b5c11502a80.tar.gz samba-68ebe2572406aaf7f61cd0b51fd02b5c11502a80.tar.bz2 samba-68ebe2572406aaf7f61cd0b51fd02b5c11502a80.zip |
r19850: Fix IDL warnings.
(This used to be commit 92b8bde561277a6b83048ce003cc29ff1b380255)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/eventlog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c index 3ecc1a422b..01a07a680d 100644 --- a/source4/torture/rpc/eventlog.c +++ b/source4/torture/rpc/eventlog.c @@ -77,7 +77,7 @@ static bool test_GetNumRecords(struct torture_context *tctx, struct dcerpc_pipe dcerpc_eventlog_GetNumRecords(p, tctx, &r), "GetNumRecords failed"); - torture_comment(tctx, talloc_asprintf(tctx, "%d records\n", r.out.number)); + torture_comment(tctx, talloc_asprintf(tctx, "%d records\n", *r.out.number)); cr.in.handle = cr.out.handle = &handle; @@ -125,7 +125,7 @@ static bool test_ReadEventLog(struct torture_context *tctx, /* Now read the actual record */ - r.in.number_of_bytes = r.out.real_size; + r.in.number_of_bytes = *r.out.real_size; r.out.data = talloc_size(tctx, r.in.number_of_bytes); status = dcerpc_eventlog_ReadEventLogW(p, tctx, &r); @@ -134,7 +134,7 @@ static bool test_ReadEventLog(struct torture_context *tctx, /* Decode a user-marshalled record */ - blob.length = r.out.sent_size; + blob.length = *r.out.sent_size; blob.data = talloc_steal(tctx, r.out.data); ndr = ndr_pull_init_blob(&blob, tctx); |