summaryrefslogtreecommitdiff
path: root/source4/rpc_server/winreg
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-24 02:05:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:16 -0500
commit443a22b7f77f8aa640b6c75b49d853d4614d34d1 (patch)
tree377bb76477708adcf16d5a860ef71bee86f2f85e /source4/rpc_server/winreg
parenta90eba6316b89c3e387e0c52af22b5344a5de2f2 (diff)
downloadsamba-443a22b7f77f8aa640b6c75b49d853d4614d34d1.tar.gz
samba-443a22b7f77f8aa640b6c75b49d853d4614d34d1.tar.bz2
samba-443a22b7f77f8aa640b6c75b49d853d4614d34d1.zip
r18860: fixed some code that bitrotted while we didn't have the safety check
with NTSTATUS, WERROR etc. (This used to be commit fddb85bfa8bb5df7812d226a7a6f6fb41ccf107f)
Diffstat (limited to 'source4/rpc_server/winreg')
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index e32f620e5b..1282923836 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -527,7 +527,7 @@ static WERROR winreg_GetVersion(struct dcesrv_call_state *dce_call, TALLOC_CTX *
DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY);
r->out.version = talloc(mem_ctx, uint32_t);
- NT_STATUS_HAVE_NO_MEMORY(r->out.version);
+ W_ERROR_HAVE_NO_MEMORY(r->out.version);
*r->out.version = 5;