diff options
author | Volker Lendecke <vl@samba.org> | 2011-11-24 10:55:30 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-11-28 17:14:27 +0100 |
commit | 5c53926fa7fcb7e9f88b481936ffd2e68b116675 (patch) | |
tree | 0f225b50bc230e02f518e7c8051fc704ff241ff8 /source3/winbindd | |
parent | 7491bd78d6c17c56e6b6fa87db94063852fa33e1 (diff) | |
download | samba-5c53926fa7fcb7e9f88b481936ffd2e68b116675.tar.gz samba-5c53926fa7fcb7e9f88b481936ffd2e68b116675.tar.bz2 samba-5c53926fa7fcb7e9f88b481936ffd2e68b116675.zip |
s3: Use tevent_req_simple_recv_ntstatus
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Nov 28 17:14:27 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/wb_getpwsid.c | 7 |
1 files changed, 1 insertions, 6 deletions
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); } |