mirror of
https://git.sr.ht/~adnano/go-gemini
synced 2025-08-23 20:34:40 +02:00
examples/client: Fix opening of known hosts file
This commit is contained in:
parent
8c0ff0547d
commit
a4590e7998
@ -36,7 +36,7 @@ func init() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
hostsfile, err = tofu.NewHostsFile(path)
|
||||
hostsfile, err = tofu.OpenHostsFile(path)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user