From d391159abe6280fc6c6e828a3d725bb0e9ba23a6 Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 3 Apr 2016 18:35:11 +1200 Subject: [PATCH] libnmdc: avoid meaningless cast --- src/libnmdc/libnmdc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnmdc/libnmdc.go b/src/libnmdc/libnmdc.go index e403f15..b18d510 100644 --- a/src/libnmdc/libnmdc.go +++ b/src/libnmdc/libnmdc.go @@ -380,7 +380,7 @@ func (this *HubConnection) worker() { } protocolMessage := rx_protocolMessage.FindString(fullBuffer) if len(protocolMessage) > 0 { - this.processProtocolMessage(string(protocolMessage)) + this.processProtocolMessage(protocolMessage) fullBuffer = fullBuffer[len(protocolMessage):] } else { break