git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f0bcd
)
Revert "Fix some missing error handlings"
author
Karolin Seeger
<kseeger@samba.org>
Mon, 17 Nov 2008 13:02:51 +0000
(14:02 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 17 Nov 2008 13:02:51 +0000
(14:02 +0100)
This reverts commit
4ac937db865d9fc56cb49838a361dd697d06efc7
.
source/lib/netapi/getdc.c
patch
|
blob
|
history
diff --git
a/source/lib/netapi/getdc.c
b/source/lib/netapi/getdc.c
index e03660c3a9293b458dd4cd1ce2c4417218eb46c0..c1d021b1d48acfd8273d02a9c761d86f43080baa 100644
(file)
--- a/
source/lib/netapi/getdc.c
+++ b/
source/lib/netapi/getdc.c
@@
-60,11
+60,6
@@
WERROR NetGetDCName_r(struct libnetapi_ctx *ctx,
r->in.domain_name,
(const char **)r->out.buffer,
&werr);
-
- if (!NT_STATUS_IS_OK(status)) {
- werr = ntstatus_to_werror(status);
- }
-
done:
return werr;