summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/wb_lookupsid.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-10 11:05:47 +0200
committerVolker Lendecke <vlendec@samba.org>2011-05-10 13:11:10 +0200
commit44cc1656276d99816614408b5cd846e6a57eacf0 (patch)
treea8f61522f7166988617b389aba397c35f580fe03 /source3/winbindd/wb_lookupsid.c
parent06a2ff579692ea062944e5bd90d3526327004954 (diff)
downloadsamba-44cc1656276d99816614408b5cd846e6a57eacf0.tar.gz
samba-44cc1656276d99816614408b5cd846e6a57eacf0.tar.xz
samba-44cc1656276d99816614408b5cd846e6a57eacf0.zip
s3: Use tevent_req_ntstatus properly in a few places
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 10 13:11:10 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd/wb_lookupsid.c')
-rw-r--r--source3/winbindd/wb_lookupsid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/wb_lookupsid.c b/source3/winbindd/wb_lookupsid.c
index 2e1b21a8d88..2ab3917ceb7 100644
--- a/source3/winbindd/wb_lookupsid.c
+++ b/source3/winbindd/wb_lookupsid.c
@@ -76,8 +76,7 @@ static void wb_lookupsid_done(struct tevent_req *subreq)
status = dcerpc_wbint_LookupSid_recv(subreq, state, &result);
TALLOC_FREE(subreq);
- if (!NT_STATUS_IS_OK(status)) {
- tevent_req_nterror(req, status);
+ if (tevent_req_nterror(req, status)) {
return;
}
if (NT_STATUS_IS_OK(result)) {