agent: Simplify accepting state changes to FAILED
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 20 Jul 2021 17:06:58 +0000 (13:06 -0400)
committerOlivier Crête <olivier.crete@ocrete.ca>
Tue, 20 Jul 2021 22:46:37 +0000 (22:46 +0000)
commitca1e7d45d39db4dbcc99c6fe28df452bbf47ae14
treedd0b5b1eeb82a177b247672419f9ee9b5678a63f
parent52268e7e8910d7432a3e9601a467528738936374
agent: Simplify accepting state changes to FAILED

The component can go from any state to FAILED, so simplify
that and make it explicit.
agent/agent.c