summaryrefslogtreecommitdiff
path: root/source3/librpc/ndr/ndr_basic.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-15 22:49:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:51 -0500
commite5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4 (patch)
treedb7c10f2390939cd426d943af4693fd888f41c99 /source3/librpc/ndr/ndr_basic.c
parent47debfd03a57815d9c4d67406cfa522ece1a7bc5 (diff)
downloadsamba-e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4.tar.gz
samba-e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4.tar.bz2
samba-e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4.zip
r18572: Use the autogenerated client and server for the echo interface and implement
some of the missing functions. RPC-ECHO now passes against Samba3. (This used to be commit 9e9a05366176454cc1779acc6c2b6070743f5939)
Diffstat (limited to 'source3/librpc/ndr/ndr_basic.c')
-rw-r--r--source3/librpc/ndr/ndr_basic.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/librpc/ndr/ndr_basic.c b/source3/librpc/ndr/ndr_basic.c
index ce2af31784..af006f2e91 100644
--- a/source3/librpc/ndr/ndr_basic.c
+++ b/source3/librpc/ndr/ndr_basic.c
@@ -492,11 +492,8 @@ NTSTATUS ndr_push_sptr_ptr(struct ndr_push *ndr, const void *p)
/*
push always a 0, if a pointer is NULL it's a fatal error
*/
-NTSTATUS ndr_push_ref_ptr(struct ndr_push *ndr, const void *p)
+NTSTATUS ndr_push_ref_ptr(struct ndr_push *ndr)
{
- if (p == NULL) {
- return NT_STATUS_INVALID_PARAMETER_MIX;
- }
return ndr_push_uint32(ndr, NDR_SCALARS, 0xAEF1AEF1);
}