mirror of
https://github.com/PretendoNetwork/friends.git
synced 2026-04-25 07:18:36 -05:00
Updated ConnectionIDCounter increment
This commit is contained in:
parent
35c7eb12c8
commit
ba99290d66
|
|
@ -19,7 +19,7 @@ func register(err error, client *nex.Client, callID uint32, stationUrls []*nex.S
|
|||
rmcResponseStream := nex.NewStreamOut(nexServer)
|
||||
|
||||
rmcResponseStream.WriteUInt32LE(0x10001) // Success
|
||||
rmcResponseStream.WriteUInt32LE(uint32(secureServer.ConnectionIDCounter.Increment()))
|
||||
rmcResponseStream.WriteUInt32LE(nexServer.ConnectionIDCounter().Increment())
|
||||
rmcResponseStream.WriteString(localStationURL)
|
||||
|
||||
rmcResponseBody := rmcResponseStream.Bytes()
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ func registerEx(err error, client *nex.Client, callID uint32, stationUrls []*nex
|
|||
rmcResponseStream := nex.NewStreamOut(nexServer)
|
||||
|
||||
rmcResponseStream.WriteUInt32LE(0x10001) // Success
|
||||
rmcResponseStream.WriteUInt32LE(uint32(secureServer.ConnectionIDCounter.Increment()))
|
||||
rmcResponseStream.WriteUInt32LE(nexServer.ConnectionIDCounter().Increment())
|
||||
rmcResponseStream.WriteString(localStationURL)
|
||||
|
||||
rmcResponseBody := rmcResponseStream.Bytes()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user