diff --git a/src/server/torr/torrent.go b/src/server/torr/torrent.go index 6cb4f81..5175269 100644 --- a/src/server/torr/torrent.go +++ b/src/server/torr/torrent.go @@ -373,7 +373,7 @@ func (t *Torrent) Status() *state.TorrentStatus { }) for i, f := range files { st.FileStats = append(st.FileStats, &state.TorrentFileStat{ - Id: i + 1, + Id: i, Path: f.Path(), Length: f.Length(), })