]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Step also cooked select timestamp in scheduler slew handler
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 23 Jun 2011 13:23:16 +0000 (15:23 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 23 Jun 2011 13:23:16 +0000 (15:23 +0200)
sched.c

diff --git a/sched.c b/sched.c
index d7c5c3851f3e373b8cba1cd249ca874a063008d7..5ea93f68e4e5d9a793ac822d6b5a4deeaac13080 100644 (file)
--- a/sched.c
+++ b/sched.c
@@ -527,6 +527,7 @@ handle_slew(struct timeval *raw,
     }
 
     UTI_AddDoubleToTimeval(&last_select_ts_raw, -doffset, &last_select_ts_raw);
+    UTI_AddDoubleToTimeval(&last_select_ts, -doffset, &last_select_ts);
   }
 }