summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-31 12:18:26 +0000
committerSander Vrijders <sander.vrijders@ugent.be>2017-03-31 12:18:26 +0000
commit02523d780b9c629a98e863b5218f054cde2f0426 (patch)
tree7aa2af00a83a35044469304836b515b9806f9f5f
parentad01a7fd0b6cd798b2d5a2901ae8499b25360707 (diff)
parent802088cad493c41bf6c0089e9e643edc0cd997bc (diff)
downloadouroboros-02523d780b9c629a98e863b5218f054cde2f0426.tar.gz
ouroboros-02523d780b9c629a98e863b5218f054cde2f0426.zip
Merged in dstaesse/ouroboros/be-new-api (pull request #441)
irmd: Fix assignment bug
-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) {