mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 00:25:06 -05:00
util: modify UTI_*ToDouble functions to return double directly
This commit is contained in:
2
keys.c
2
keys.c
@@ -113,7 +113,7 @@ determine_hash_delay(uint32_t key_id)
|
||||
(unsigned char *)&pkt.auth_data, sizeof (pkt.auth_data));
|
||||
LCL_ReadRawTime(&after);
|
||||
|
||||
UTI_DiffTimespecsToDouble(&diff, &after, &before);
|
||||
diff = UTI_DiffTimespecsToDouble(&after, &before);
|
||||
|
||||
if (i == 0 || min_diff > diff)
|
||||
min_diff = diff;
|
||||
|
||||
Reference in New Issue
Block a user