BUG/MINOR: calltrace: fix 'now' being used in place of 'date'
Since commit 28360dc
("MEDIUM: clock: force internal time to wrap early
after boot") we have a much clearer distinction between 'now' (the internal,
drifting clock) and 'date' (the wall clock time). The calltrace code was
using "now" instead of "date" since the value is displayed to humans.
No backport is needed.
This commit is contained in:
parent
fe1b3b8777
commit
22b6d26c57
|
@ -76,7 +76,7 @@ static int open_trace()
|
||||||
if (!log)
|
if (!log)
|
||||||
log = stderr;
|
log = stderr;
|
||||||
|
|
||||||
now_ptr = &now;
|
now_ptr = &date;
|
||||||
if (getenv("HAPROXY_TRACE_FAST") != NULL) {
|
if (getenv("HAPROXY_TRACE_FAST") != NULL) {
|
||||||
fast_time = 1;
|
fast_time = 1;
|
||||||
now_ptr = &trace_now;
|
now_ptr = &trace_now;
|
||||||
|
|
Loading…
Reference in New Issue