From 5c53926fa7fcb7e9f88b481936ffd2e68b116675 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 24 Nov 2011 10:55:30 +0100 Subject: s3: Use tevent_req_simple_recv_ntstatus Autobuild-User: Volker Lendecke Autobuild-Date: Mon Nov 28 17:14:27 CET 2011 on sn-devel-104 --- source3/winbindd/wb_getpwsid.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source3/winbindd') diff --git a/source3/winbindd/wb_getpwsid.c b/source3/winbindd/wb_getpwsid.c index 5bd384be40..ef54ee5f48 100644 --- a/source3/winbindd/wb_getpwsid.c +++ b/source3/winbindd/wb_getpwsid.c @@ -136,10 +136,5 @@ static void wb_getpwsid_done(struct tevent_req *subreq) NTSTATUS wb_getpwsid_recv(struct tevent_req *req) { - NTSTATUS status; - - if (tevent_req_is_nterror(req, &status)) { - return status; - } - return NT_STATUS_OK; + return tevent_req_simple_recv_ntstatus(req); } -- cgit