mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 20:05:06 -05:00
Update offset correction errors only when needed
This commit is contained in:
@@ -287,7 +287,8 @@ get_offset_correction(struct timeval *raw,
|
||||
stop_adjust();
|
||||
*corr = -offset_register;
|
||||
start_adjust();
|
||||
*err = 0.0;
|
||||
if (err)
|
||||
*err = 0.0;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user