From 89ea4c0e29757c90cca17de4d28538772cd60ccb Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 11 Jan 2018 17:11:54 +1100 Subject: [PATCH] Fix mentions of TorrentDataOpener --- client_test.go | 1 - config.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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