diff --git a/client_test.go b/client_test.go index 6c1b3028..13c6cbdd 100644 --- a/client_test.go +++ b/client_test.go @@ -459,7 +459,6 @@ func TestSeedAfterDownloading(t *testing.T) { 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 1ca91e9a..cb597b20 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