mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-09-10 16:49:44 +00:00
remove constants in decoders
This commit is contained in:
@@ -10,7 +10,7 @@ func decodeInfoTrackerListChunkData(infoTrackerListChunk Chunk) InfoTrackerListC
|
||||
offset := 0
|
||||
for offset < int(infoTrackerListChunk.Header.DataLen) {
|
||||
trackerChunk := DecodeInfoTrackerChunk(infoTrackerListChunk.ChunkData[offset:])
|
||||
offset += CHUNK_HEADER_SIZE
|
||||
offset += 4
|
||||
if trackerChunk.Chunk.Header.DataLen > 0 {
|
||||
offset += int(trackerChunk.Chunk.Header.DataLen)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user