mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-08-31 20:09:14 +00:00
remove constants in decoders
This commit is contained in:
@@ -10,7 +10,7 @@ func decodeDataTrackerListChunkData(dataTrackerListChunk Chunk) DataTrackerListC
|
||||
offset := 0
|
||||
for offset < int(dataTrackerListChunk.Header.DataLen) {
|
||||
trackerChunk := DecodeDataTrackerChunk(dataTrackerListChunk.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