diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-09-15 22:49:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:51 -0500 |
commit | 9e9a05366176454cc1779acc6c2b6070743f5939 (patch) | |
tree | 0433bf3095c78eaf558873366abf563cd3ea6839 /source/librpc/ndr | |
parent | 990e7c3f8eda0c7902bcab0523218b6b218e2ef4 (diff) | |
download | samba-9e9a05366176454cc1779acc6c2b6070743f5939.tar.gz samba-9e9a05366176454cc1779acc6c2b6070743f5939.tar.xz samba-9e9a05366176454cc1779acc6c2b6070743f5939.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.
Diffstat (limited to 'source/librpc/ndr')
-rw-r--r-- | source/librpc/ndr/ndr_basic.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/librpc/ndr/ndr_basic.c b/source/librpc/ndr/ndr_basic.c index ce2af31784c..af006f2e91c 100644 --- a/source/librpc/ndr/ndr_basic.c +++ b/source/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); } |