svn commit: samba r19850 - in branches/SAMBA_4_0/source: librpc/idl
torture/rpc
jelmer at samba.org
jelmer at samba.org
Thu Nov 23 00:34:32 GMT 2006
Author: jelmer
Date: 2006-11-23 00:34:31 +0000 (Thu, 23 Nov 2006)
New Revision: 19850
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19850
Log:
Fix IDL warnings.
Modified:
branches/SAMBA_4_0/source/librpc/idl/eventlog.idl
branches/SAMBA_4_0/source/torture/rpc/eventlog.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/eventlog.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/eventlog.idl 2006-11-22 21:40:23 UTC (rev 19849)
+++ branches/SAMBA_4_0/source/librpc/idl/eventlog.idl 2006-11-23 00:34:31 UTC (rev 19850)
@@ -81,7 +81,7 @@
/* Function: 0x04 */
NTSTATUS eventlog_GetNumRecords(
[in] policy_handle *handle,
- [out] uint32 number
+ [out] uint32 *number
);
/******************/
@@ -119,8 +119,8 @@
[in] uint32 offset,
[in] uint32 number_of_bytes,
[out,size_is(number_of_bytes)] uint8 *data,
- [out] uint32 sent_size,
- [out] uint32 real_size
+ [out] uint32 *sent_size,
+ [out] uint32 *real_size
);
/*****************/
Modified: branches/SAMBA_4_0/source/torture/rpc/eventlog.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/eventlog.c 2006-11-22 21:40:23 UTC (rev 19849)
+++ branches/SAMBA_4_0/source/torture/rpc/eventlog.c 2006-11-23 00:34:31 UTC (rev 19850)
@@ -77,7 +77,7 @@
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 @@
/* 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 @@
/* 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);
More information about the samba-cvs
mailing list