mirror of
https://github.com/jwetzell/psn-go.git
synced 2026-09-12 09:39:41 +00:00
consistent use of hex value
This commit is contained in:
@@ -23,7 +23,7 @@ func DecodeInfoTrackerChunk(bytes []byte) InfoTrackerChunk {
|
||||
|
||||
for offset < int(chunk.Header.DataLen) {
|
||||
switch id := binary.LittleEndian.Uint16(chunk.ChunkData[offset : offset+2]); id {
|
||||
case 0:
|
||||
case 0x0000:
|
||||
tracker_name := DecodeInfoTrackerNameChunk(chunk.ChunkData[offset:])
|
||||
data.TrackerName = &tracker_name
|
||||
offset += 4
|
||||
|
||||
Reference in New Issue
Block a user