Cosmetic output change in mc.js

This commit is contained in:
Tony Garnock-Jones 2018-11-07 00:34:35 +00:00
parent e2e7e0006a
commit 7dd82b58c9
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ spawn named 'multicast_demo' {
assert U.UdpMulticastLoopback(HANDLE, true);
on message U.UdpPacket(U.UdpPeer($host, $port), HANDLE, $body) {
console.log('Got', body, 'from', host, port);
console.log('Got', body.toString(), 'from', host, port);
}
on message PeriodicTick(2000) {