summaryrefslogtreecommitdiff
path: root/src/irmd/main.c
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-03-21 16:14:18 +0100
committerdimitri staessens <dimitri.staessens@ugent.be>2017-03-21 16:14:18 +0100
commit19a3277dbff7fc79c12be8a200ab6c8dfe6b50b9 (patch)
tree835d86fa8c9695e95ef213dc5644d1a7f1fdc395 /src/irmd/main.c
parent15b492ffb0de010b94bfb4e80c721e04ef6f63c2 (diff)
downloadouroboros-19a3277dbff7fc79c12be8a200ab6c8dfe6b50b9.tar.gz
ouroboros-19a3277dbff7fc79c12be8a200ab6c8dfe6b50b9.zip
irmd: Fix timeouts in reg_entry
This fixes bad timedwaits for the state of the reg_entry. Also slightly revised timedwaits throughout the prototype.
Diffstat (limited to 'src/irmd/main.c')
-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 658a08f6..cc13ccea 100644
--- a/src/irmd/main.c
+++ b/src/irmd/main.c
@@ -1360,7 +1360,7 @@ static struct irm_flow * flow_req_arr(pid_t api,
pid_t h_api = -1;
int port_id = -1;
- struct timespec wt = {IRMD_REQ_ARR_TIMEOUT % 1000,
+ struct timespec wt = {IRMD_REQ_ARR_TIMEOUT / 1000,
(IRMD_REQ_ARR_TIMEOUT % 1000) * MILLION};
log_dbg("Flow req arrived from IPCP %d for %s on AE %s.",