]> git.kaiwu.me - haproxy.git/commit
MINOR: dns: dns_resolution structure update: time_t to unsigned int
authorBaptiste Assmann <bedis9@gmail.com>
Thu, 3 Sep 2015 08:55:20 +0000 (10:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 8 Sep 2015 08:50:17 +0000 (10:50 +0200)
commit189363e35a228835c7d96f3865f20acecd9c2975
tree5311051a33a55329a0c5840e3e0315a293c946b4
parent9c03b33329cb4924716edc1c851913a18b0670dc
MINOR: dns: dns_resolution structure update: time_t to unsigned int

3 variables of the dns_resolution structure are set to 'time_t' type.
Since they are all set by 'now_ms' and used as 'ticks' in HAProxy's
internal, it is safer to set them to the same type than now_ms:
'unsigned int'.
include/types/dns.h