commit | 1f9e11e7f0a7c5778ddeae51f10e80aa3c06d7a3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Apr 23 16:03:21 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Apr 23 18:03:06 2021 +0200 |
tree | 4e21b746d599733bc6b3d2ef17d10abf8dc9a660 | |
parent | 4d01f3dcdc81465e4a3712642cb9ba4148030049 [diff] |
CLEANUP: time: use __tv_to_ms() in tv_update_date() instead of open-coding Instead of calculating the current date in milliseconds by hand, let's use __tv_to_ms() which was made exactly for this purpose.