1
0
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:
adnano 2021-02-09 09:48:47 -05:00
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)
}