From: Matt Joiner Date: Thu, 11 Jan 2018 06:11:54 +0000 (+1100) Subject: Fix mentions of TorrentDataOpener X-Git-Tag: v1.0.0~284 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=89ea4c0e29757c90cca17de4d28538772cd60ccb;p=btrtrc.git Fix mentions of TorrentDataOpener --- 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