summaryrefslogtreecommitdiff
path: root/test/internet/test-dgram-multicast-multi-process.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/internet/test-dgram-multicast-multi-process.js')
-rw-r--r--test/internet/test-dgram-multicast-multi-process.js22
1 files changed, 14 insertions, 8 deletions
diff --git a/test/internet/test-dgram-multicast-multi-process.js b/test/internet/test-dgram-multicast-multi-process.js
index f72402eef6..5fa897fc6c 100644
--- a/test/internet/test-dgram-multicast-multi-process.js
+++ b/test/internet/test-dgram-multicast-multi-process.js
@@ -157,14 +157,20 @@ if (process.argv[2] !== 'child') {
return;
}
- sendSocket.send(buf, 0, buf.length,
- common.PORT, LOCAL_BROADCAST_HOST, function(err) {
- if (err) throw err;
- console.error('[PARENT] sent "%s" to %s:%s',
- buf.toString(),
- LOCAL_BROADCAST_HOST, common.PORT);
- process.nextTick(sendSocket.sendNext);
- });
+ sendSocket.send(
+ buf,
+ 0,
+ buf.length,
+ common.PORT,
+ LOCAL_BROADCAST_HOST,
+ function(err) {
+ if (err) throw err;
+ console.error('[PARENT] sent "%s" to %s:%s',
+ buf.toString(),
+ LOCAL_BROADCAST_HOST, common.PORT);
+ process.nextTick(sendSocket.sendNext);
+ }
+ );
};
}