client_test.go | 1 - config.go | 2 +- diff --git a/client_test.go b/client_test.go index 6c1b3028497bd009232361e8464a0ee73865f425..13c6cbddd9811742be45e71786fe69d48119ed11 100644 --- a/client_test.go +++ b/client_test.go @@ -459,7 +459,6 @@ require.NoError(t, err) defer leecher.Close() testutil.ExportStatusWriter(leecher, "l") cfg.Seed = false - // cfg.TorrentDataOpener = nil cfg.DataDir, err = ioutil.TempDir("", "") require.NoError(t, err) defer os.RemoveAll(cfg.DataDir) diff --git a/config.go b/config.go index 1ca91e9a1973355326409e90d879962bf299d04b..cb597b200c7df7b38b9105891a97dc27a639f45e 100644 --- a/config.go +++ b/config.go @@ -27,7 +27,7 @@ var DefaultHTTPUserAgent = "Go-Torrent/1.0" // Override Client defaults. type Config struct { - // Store torrent file data in this directory unless TorrentDataOpener is + // Store torrent file data in this directory unless .DefaultStorage is // specified. DataDir string `long:"data-dir" description:"directory to store downloaded torrent data"` // The address to listen for new uTP and TCP bittorrent protocol