From 19a3277dbff7fc79c12be8a200ab6c8dfe6b50b9 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 21 Mar 2017 16:14:18 +0100 Subject: irmd: Fix timeouts in reg_entry This fixes bad timedwaits for the state of the reg_entry. Also slightly revised timedwaits throughout the prototype. --- src/irmd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/irmd/main.c') 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.", -- cgit v1.2.3