summaryrefslogtreecommitdiff
path: root/src/udp_wrap.cc
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2016-09-27 18:43:01 +0200
committerJames M Snell <jasnell@gmail.com>2016-09-30 09:35:36 -0700
commit6e62b7168855d1ca3c13fe9f32b26b0d42bf2c7e (patch)
tree2e9f0de921308bf82f5164d2bc1fc61397d99b85 /src/udp_wrap.cc
parentb838e5ff8643bba6509457d9c5985ee6c9b44ebb (diff)
downloadnode-new-6e62b7168855d1ca3c13fe9f32b26b0d42bf2c7e.tar.gz
src: add missing length argument to send comment
The list.length argument is missing from the comment and just adding this for clarity. PR-URL: https://github.com/nodejs/node/pull/8816 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Diffstat (limited to 'src/udp_wrap.cc')
-rw-r--r--src/udp_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc
index 30113b7a8e..4d6b2377ec 100644
--- a/src/udp_wrap.cc
+++ b/src/udp_wrap.cc
@@ -255,7 +255,7 @@ void UDPWrap::DoSend(const FunctionCallbackInfo<Value>& args, int family) {
args.Holder(),
args.GetReturnValue().Set(UV_EBADF));
- // send(req, list, port, address, hasCallback)
+ // send(req, list, list.length, port, address, hasCallback)
CHECK(args[0]->IsObject());
CHECK(args[1]->IsArray());
CHECK(args[2]->IsUint32());