diff options
author | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-21 16:14:18 +0100 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-03-21 16:14:18 +0100 |
commit | 19a3277dbff7fc79c12be8a200ab6c8dfe6b50b9 (patch) | |
tree | 835d86fa8c9695e95ef213dc5644d1a7f1fdc395 /src/irmd/main.c | |
parent | 15b492ffb0de010b94bfb4e80c721e04ef6f63c2 (diff) | |
download | ouroboros-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.c | 2 |
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.", |