aboutsummaryrefslogtreecommitdiff
path: root/meta/torrent.go
diff options
context:
space:
mode:
Diffstat (limited to 'meta/torrent.go')
-rw-r--r--meta/torrent.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/torrent.go b/meta/torrent.go
index 305a846..80c987b 100644
--- a/meta/torrent.go
+++ b/meta/torrent.go
@@ -35,7 +35,7 @@ func (t Torrent) String() string {
return s
}
-func Open(fname string) (Torrent, error) {
+func New(fname string) (Torrent, error) {
var tor Torrent
body, err := ioutil.ReadFile(fname)
if err != nil {