summaryrefslogtreecommitdiff
path: root/src/irmd/irm_flow.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-29 14:21:05 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-29 14:21:05 +0200
commitd79d9f864f4dc146386547df5a1c6afced55b8cd (patch)
tree03408220a1e8a0a1a8337cfea68dcad9b88c6814 /src/irmd/irm_flow.c
parent9097a5446c31b83ec224b3e1403a319b24025346 (diff)
downloadouroboros-d79d9f864f4dc146386547df5a1c6afced55b8cd.tar.gz
ouroboros-d79d9f864f4dc146386547df5a1c6afced55b8cd.zip
irmd: Set failed flows to FLOW_NULL before destroy
Diffstat (limited to 'src/irmd/irm_flow.c')
-rw-r--r--src/irmd/irm_flow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/irmd/irm_flow.c b/src/irmd/irm_flow.c
index 8ca25b5b..99966561 100644
--- a/src/irmd/irm_flow.c
+++ b/src/irmd/irm_flow.c
@@ -125,7 +125,6 @@ enum flow_state irm_flow_get_state(struct irm_flow * f)
void irm_flow_set_state(struct irm_flow * f, enum flow_state state)
{
assert(f);
- assert(state != FLOW_NULL);
assert(state != FLOW_DESTROY);
pthread_mutex_lock(&f->state_lock);