summaryrefslogtreecommitdiff
path: root/src/irmd
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-30 14:04:03 +0000
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-10-30 14:04:03 +0000
commit94044e99af295e9440d306719a5cf341645d1803 (patch)
tree49e677cf3626a58737fd3d2d7ac8b0dd7a74517f /src/irmd
parent72eb9eed1284643db20c45ef82365fa54fd0ef1c (diff)
parent05fa4879dd8c70156fd98eabed4634098b0feecb (diff)
downloadouroboros-94044e99af295e9440d306719a5cf341645d1803.tar.gz
ouroboros-94044e99af295e9440d306719a5cf341645d1803.zip
Merged in dstaesse/ouroboros/be-dealloc (pull request #293)
operf tool, bugfixing and small improvements
Diffstat (limited to 'src/irmd')
-rw-r--r--src/irmd/main.c2
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);
}