summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-02-17 11:42:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:10:45 -0500
commita2aa220709eca6dd260d9eeecf918f9bb129d8ed (patch)
treef7b3997f901120c77de42992508056a1d749a1e6 /source4/librpc/ndr
parenta2a7869d060dfeaeac3b104add98bce196e3c577 (diff)
downloadsamba-a2aa220709eca6dd260d9eeecf918f9bb129d8ed.tar.gz
samba-a2aa220709eca6dd260d9eeecf918f9bb129d8ed.tar.bz2
samba-a2aa220709eca6dd260d9eeecf918f9bb129d8ed.zip
r5427: NTSTATUS is treated by pidl as a 'real' scalar now.
(This used to be commit fa97059d000859b3d0192ed4a0135770888aba6f)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_basic.c4
1 files changed, 2 insertions, 2 deletions
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));
}
/*