git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:winbindd: make sure cm_prepare_connection() only returns OK with a valid tree...
[sfrench/samba-autobuild/.git]
/
source3
/
winbindd
/
winbindd_getpwsid.c
diff --git
a/source3/winbindd/winbindd_getpwsid.c
b/source3/winbindd/winbindd_getpwsid.c
index efea3fd2b362f9958d66d7c0b666504b92c00e9c..52481700756e8ef0931542c95924e0c88ffd4dbf 100644
(file)
--- a/
source3/winbindd/winbindd_getpwsid.c
+++ b/
source3/winbindd/winbindd_getpwsid.c
@@
-70,8
+70,7
@@
static void winbindd_getpwsid_done(struct tevent_req *subreq)
status = wb_getpwsid_recv(subreq);
TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
+ if (tevent_req_nterror(req, status)) {
return;
}
tevent_req_done(req);