svn commit: samba r8108 - in branches/SAMBA_4_0/source/librpc/ndr: .
abartlet at samba.org
abartlet at samba.org
Mon Jul 4 02:25:34 GMT 2005
Author: abartlet
Date: 2005-07-04 02:25:33 +0000 (Mon, 04 Jul 2005)
New Revision: 8108
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8108
Log:
Fix indentation, and remove a discard_const_p() that we don't need any more.
Perhaps like minimal_includes.pl, we should have a way to find these
automaticly. Hmm...
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/librpc/ndr/ndr.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr.c 2005-07-04 01:57:53 UTC (rev 8107)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr.c 2005-07-04 02:25:33 UTC (rev 8108)
@@ -325,9 +325,9 @@
we use magic in pidl to make them easier to cope with
*/
NTSTATUS ndr_pull_subcontext_header(struct ndr_pull *ndr,
- size_t header_size,
- ssize_t size_is,
- struct ndr_pull *ndr2)
+ size_t header_size,
+ ssize_t size_is,
+ struct ndr_pull *ndr2)
{
ndr2->flags = ndr->flags;
@@ -704,7 +704,7 @@
if (!ndr) return 0;
ndr->flags |= flags | LIBNDR_FLAG_NO_NDR_SIZE;
ndr_push_set_switch_value(ndr, p, level);
- status = push(ndr, NDR_SCALARS|NDR_BUFFERS, discard_const(p));
+ status = push(ndr, NDR_SCALARS|NDR_BUFFERS, p);
if (!NT_STATUS_IS_OK(status)) {
return 0;
}
More information about the samba-cvs
mailing list