]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Fix mentions of TorrentDataOpener
authorMatt Joiner <anacrolix@gmail.com>
Thu, 11 Jan 2018 06:11:54 +0000 (17:11 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 11 Jan 2018 06:11:54 +0000 (17:11 +1100)
client_test.go
config.go

index 6c1b3028497bd009232361e8464a0ee73865f425..13c6cbddd9811742be45e71786fe69d48119ed11 100644 (file)
@@ -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)
index 1ca91e9a1973355326409e90d879962bf299d04b..cb597b200c7df7b38b9105891a97dc27a639f45e 100644 (file)
--- 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