Skip to content

Commit

Permalink
Use WFT_STATE_SYS_ERROR instead of SS_STATE_ERROR. Some value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Nov 7, 2024
1 parent fabd556 commit d3fd24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/factory/WFTaskFactory.cc
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void __WFNamedTimerTask::dispatch()

mutex_.unlock();
if (ret < 0)
this->handle(SS_STATE_ERROR, errno);
this->handle(WFT_STATE_SYS_ERROR, errno);
}

void __WFNamedTimerTask::handle(int state, int error)
Expand All @@ -259,7 +259,7 @@ void __WFNamedTimerTask::handle(int state, int error)

if (canceled)
{
state = SS_STATE_ERROR;
state = WFT_STATE_SYS_ERROR;
error = ECANCELED;
}

Expand Down

0 comments on commit d3fd24c

Please sign in to comment.