diff options
author | dimitri staessens <[email protected]> | 2016-10-27 16:35:22 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-27 16:35:22 +0200 |
commit | 52b411b0388cecfeff36a4098305453b4aa239da (patch) | |
tree | 62a7ea77214e7f2e5f3e318cf4db87bd5dfcc417 /src/irmd/irm_flow.c | |
parent | 5e8400b3b148d78861152bd551800b1e93a58155 (diff) | |
download | ouroboros-52b411b0388cecfeff36a4098305453b4aa239da.tar.gz ouroboros-52b411b0388cecfeff36a4098305453b4aa239da.zip |
irmd: Fix check in irm_flow
Diffstat (limited to 'src/irmd/irm_flow.c')
-rw-r--r-- | src/irmd/irm_flow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/irm_flow.c b/src/irmd/irm_flow.c index ac854832..a228db06 100644 --- a/src/irmd/irm_flow.c +++ b/src/irmd/irm_flow.c @@ -130,7 +130,7 @@ enum flow_state irm_flow_wait_state(struct irm_flow * f, enum flow_state state) while (!(f->state == state || f->state == FLOW_DESTROY)) pthread_cond_wait(&f->state_cond, &f->state_lock); - if (state == FLOW_DESTROY) { + if (f->state == FLOW_DESTROY) { f->state = FLOW_NULL; pthread_cond_broadcast(&f->state_cond); } |