`var` strings only for transport
This commit is contained in:
parent
2a6c1fb89a
commit
93c7a5577e
|
@ -7,7 +7,8 @@ proc rawCall*(self: RpcClient, name: string,
|
|||
let id = $self.nextId
|
||||
self.nextId.inc
|
||||
debug "Sending message", msg = msg
|
||||
let res = await self.transp.write(msg & "\c\l")
|
||||
var s = msg & "\c\l"
|
||||
let res = await self.transp.write(s)
|
||||
debug "Receiving length assert", value = res, length = len(msg), lengthDifferent = res != len(msg)
|
||||
|
||||
# completed by processMessage.
|
||||
|
|
Loading…
Reference in New Issue