1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3: Fix Coverity ID 2743: CHECKED_RETURN

This commit is contained in:
Volker Lendecke 2012-04-19 11:15:46 +02:00
parent f1c90e12f5
commit 7011d7ef18

View File

@ -121,9 +121,12 @@ static void background_job_trigger(
struct background_job_state *state = talloc_get_type_abort(
private_data, struct background_job_state);
if (state->wakeup_req != NULL) {
tevent_req_set_endtime(state->wakeup_req, state->ev,
timeval_zero());
if (state->wakeup_req == NULL) {
return;
}
if (!tevent_req_set_endtime(state->wakeup_req, state->ev,
timeval_zero())) {
DEBUG(10, ("tevent_req_set_endtime failed\n"));
}
}