diff options
Diffstat (limited to 'server/responder')
-rw-r--r-- | server/responder/pam/pamsrv_cmd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c index 699ec91a..815a0f96 100644 --- a/server/responder/pam/pamsrv_cmd.c +++ b/server/responder/pam/pamsrv_cmd.c @@ -388,12 +388,7 @@ static void set_last_login_done(struct tevent_req *subreq) static int set_last_login_recv(struct tevent_req *req) { - enum tevent_req_state tstate; - uint64_t err = 0; - - if (tevent_req_is_error(req, &tstate, &err)) { - return err; - } + TEVENT_REQ_RETURN_ON_ERROR(req); return EOK; } |