mirror of
https://github.com/open62541/open62541.git
synced 2025-06-03 04:00:21 +00:00
small simplification in the timout handling
This commit is contained in:
parent
f7f98bf3f3
commit
df11023b6f
@ -600,7 +600,7 @@ UA_UInt16 UA_Server_run_iterate(UA_Server *server, UA_Boolean waitInternal) {
|
||||
UA_DateTime nextRepeated = processRepeatedJobs(server, now);
|
||||
|
||||
UA_UInt16 timeout = 0;
|
||||
if(waitInternal && nextRepeated > now)
|
||||
if(waitInternal)
|
||||
timeout = (UA_UInt16)((nextRepeated - now) / UA_MSEC_TO_DATETIME);
|
||||
|
||||
/* Get work from the networklayer */
|
||||
|
Loading…
Reference in New Issue
Block a user