CopyURL moved to httptoo

This commit is contained in:
Matt Joiner 2015-12-11 03:02:45 +11:00
parent 5aca9d3563
commit 8c37ff73af
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ import (
"net/url"
"path"
"github.com/anacrolix/missinggo"
"github.com/anacrolix/missinggo/httpfile"
"github.com/anacrolix/missinggo/httptoo"
"github.com/anacrolix/torrent/data/pieceStore/dataBackend"
)
@ -21,7 +21,7 @@ type backend struct {
func New(u url.URL) *backend {
return &backend{
url: *missinggo.CopyURL(&u),
url: *httptoo.CopyURL(&u),
}
}