From 6e62b7168855d1ca3c13fe9f32b26b0d42bf2c7e Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 27 Sep 2016 18:43:01 +0200 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: Ilkka Myller --- src/udp_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udp_wrap.cc b/src/udp_wrap.cc index 30113b7a8e3201..4d6b2377ec5014 100644 --- a/src/udp_wrap.cc +++ b/src/udp_wrap.cc @@ -255,7 +255,7 @@ void UDPWrap::DoSend(const FunctionCallbackInfo& 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());