diff options
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/go/net/hosts.go')
-rw-r--r-- | llgo/third_party/gofrontend/libgo/go/net/hosts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llgo/third_party/gofrontend/libgo/go/net/hosts.go b/llgo/third_party/gofrontend/libgo/go/net/hosts.go index e6674ba3415..9400503e41e 100644 --- a/llgo/third_party/gofrontend/libgo/go/net/hosts.go +++ b/llgo/third_party/gofrontend/libgo/go/net/hosts.go @@ -51,7 +51,7 @@ func readHosts() { } } // Update the data cache. - hosts.expire = time.Now().Add(cacheMaxAge) + hosts.expire = now.Add(cacheMaxAge) hosts.path = hp hosts.byName = hs hosts.byAddr = is |