From 8c37ff73af26cd1ddae274c6a7b76b8dfd5b7513 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 11 Dec 2015 03:02:45 +1100 Subject: [PATCH] CopyURL moved to httptoo --- data/pieceStore/dataBackend/http/backend.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/pieceStore/dataBackend/http/backend.go b/data/pieceStore/dataBackend/http/backend.go index c35b1960..42557fbf 100644 --- a/data/pieceStore/dataBackend/http/backend.go +++ b/data/pieceStore/dataBackend/http/backend.go @@ -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), } }