summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-08 10:29:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:12 -0500
commit1ea5dfae043da76183191c10bcadbd77e14d1fff (patch)
treea69e61c5b0cc8d70501caac1488f5db63d500eb0 /source3/rpc_parse
parent774ceeea50b5d2eed8de8dcf2846ea5201c9ad96 (diff)
downloadsamba-1ea5dfae043da76183191c10bcadbd77e14d1fff.tar.gz
samba-1ea5dfae043da76183191c10bcadbd77e14d1fff.tar.bz2
samba-1ea5dfae043da76183191c10bcadbd77e14d1fff.zip
r23380: netr_getdcname returns WERROR not NTSTATUS.
Guenther (This used to be commit 5e75ea7f2b568d76c8ced5f43171741532cc97c2)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index 20e4dea23c..15bf2b3283 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -644,7 +644,7 @@ BOOL net_io_r_getdcname(const char *desc, NET_R_GETDCNAME *r_t, prs_struct *ps,
if (!prs_align(ps))
return False;
- if (!prs_ntstatus("status", ps, depth, &r_t->status))
+ if (!prs_werror("status", ps, depth, &r_t->status))
return False;
return True;