clientlog: fix time_t variables
The last_hit and oldest_hit timestamps are uint32_t, not time_t.
This commit is contained in:
parent
17fb9e3709
commit
1afd5b23d7
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ static Record *
|
|||
get_record(IPAddr *ip)
|
||||
{
|
||||
unsigned int first, i;
|
||||
time_t last_hit, oldest_hit = 0;
|
||||
uint32_t last_hit, oldest_hit = 0;
|
||||
Record *record, *oldest_record;
|
||||
|
||||
if (!active || (ip->family != IPADDR_INET4 && ip->family != IPADDR_INET6))
|
||||
|
|
Loading…
Reference in a new issue