mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Strip extra newline
This commit is contained in:
parent
ebe41535ba
commit
32db89d2ee
1 changed files with 0 additions and 1 deletions
|
@ -102,7 +102,6 @@ func setMaxTTL(msg *dns.Msg, ttl uint32) {
|
|||
}
|
||||
|
||||
func updateTTL(msg *dns.Msg, expiration time.Time) {
|
||||
|
||||
ttl := uint32(time.Until(expiration) / time.Second)
|
||||
|
||||
for _, rr := range msg.Answer {
|
||||
|
|
Loading…
Add table
Reference in a new issue