diff options
author | dimitri staessens <[email protected]> | 2016-10-30 10:49:31 +0100 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-30 10:49:31 +0100 |
commit | 4c72c5065411a394f04faebbe0a574a7e1f3e65f (patch) | |
tree | 08405f4e98d8e1a3659481b073f007c2a1a816d9 | |
parent | 5d01776443c0a500ffbc79a36745b07b8628bd62 (diff) | |
download | ouroboros-4c72c5065411a394f04faebbe0a574a7e1f3e65f.tar.gz ouroboros-4c72c5065411a394f04faebbe0a574a7e1f3e65f.zip |
irmd: Fix irmd state check
-rw-r--r-- | src/irmd/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c index 2bb933c4..6e3f952f 100644 --- a/src/irmd/main.c +++ b/src/irmd/main.c @@ -974,7 +974,7 @@ static struct irm_flow * flow_accept(pid_t api, char ** dst_ae_name) pthread_rwlock_rdlock(&irmd->state_lock); if (irmd->state != IRMD_RUNNING) { pthread_rwlock_unlock(&irmd->state_lock); - break; + return NULL; } pthread_rwlock_unlock(&irmd->state_lock); } |