summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-31 14:09:52 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-31 14:09:52 +0200
commit802088cad493c41bf6c0089e9e643edc0cd997bc (patch)
treee0314cc81480fb110ed31d63b309fd527d5abae8 /src
parent7ba0fd0ce19244745c8d2512ce8a003783d914a7 (diff)
downloadouroboros-802088cad493c41bf6c0089e9e643edc0cd997bc.tar.gz
ouroboros-802088cad493c41bf6c0089e9e643edc0cd997bc.zip
irmd: Fix assignment bug
Diffstat (limited to 'src')
-rw-r--r--src/irmd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irmd/main.c b/src/irmd/main.c
index c7adf386..c666cfd3 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1054,8 +1054,6 @@ static struct irm_flow * flow_accept(pid_t api,
return NULL;
}
- *cube = re->qos;
-
api_n = f->n_api;
api_n1 = f->n_1_api;
port_id = f->port_id;
@@ -1078,6 +1076,8 @@ static struct irm_flow * flow_accept(pid_t api,
re = e->re;
+ *cube = re->qos;
+
pthread_mutex_unlock(&e->state_lock);
if (reg_entry_get_state(re) != REG_NAME_FLOW_ARRIVED) {