libnmdc: avoid meaningless cast
This commit is contained in:
parent
e111c99886
commit
d391159abe
@ -380,7 +380,7 @@ func (this *HubConnection) worker() {
|
|||||||
}
|
}
|
||||||
protocolMessage := rx_protocolMessage.FindString(fullBuffer)
|
protocolMessage := rx_protocolMessage.FindString(fullBuffer)
|
||||||
if len(protocolMessage) > 0 {
|
if len(protocolMessage) > 0 {
|
||||||
this.processProtocolMessage(string(protocolMessage))
|
this.processProtocolMessage(protocolMessage)
|
||||||
fullBuffer = fullBuffer[len(protocolMessage):]
|
fullBuffer = fullBuffer[len(protocolMessage):]
|
||||||
} else {
|
} else {
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user