From a2aa220709eca6dd260d9eeecf918f9bb129d8ed Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 17 Feb 2005 11:42:38 +0000 Subject: r5427: NTSTATUS is treated by pidl as a 'real' scalar now. (This used to be commit fa97059d000859b3d0192ed4a0135770888aba6f) --- source4/librpc/ndr/ndr_basic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/librpc/ndr') diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index 5f91cef2e8..24ca8dcd0e 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -180,9 +180,9 @@ NTSTATUS ndr_push_NTSTATUS(struct ndr_push *ndr, int ndr_flags, NTSTATUS status) return ndr_push_uint32(ndr, ndr_flags, NT_STATUS_V(status)); } -void ndr_print_NTSTATUS(struct ndr_print *ndr, const char *name, NTSTATUS *r) +void ndr_print_NTSTATUS(struct ndr_print *ndr, const char *name, NTSTATUS r) { - ndr->print(ndr, "%-25s: %s", name, nt_errstr(*r)); + ndr->print(ndr, "%-25s: %s", name, nt_errstr(r)); } /* -- cgit