remove redundant cast

pull/657/head
Brad House 12 months ago
parent 8066a5e80e
commit dcd63acdb6
  1. 2
      src/lib/ares_qcache.c

@ -353,7 +353,7 @@ static ares_status_t ares__qcache_insert(ares__qcache_t *qcache,
}
entry->dnsrec = dnsrec;
entry->expire_ts = (time_t)(now->tv_sec + (time_t)ttl);
entry->expire_ts = now->tv_sec + (time_t)ttl;
entry->insert_ts = now->tv_sec;
/* We can't guarantee the server responded with the same flags as the

Loading…
Cancel
Save