summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irmd/main.c')
-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) {