Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Commit

Permalink
Update torrent.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Var Bhat authored Dec 17, 2020
1 parent 43e8294 commit 386f9ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func gentrackers() {
if err != nil {
return
}
defer trackersresponse.Body.Close()

trackers, err := ioutil.ReadAll(trackersresponse.Body)
if err != nil {
return
Expand Down

0 comments on commit 386f9ac

Please sign in to comment.