Skip to content

Commit 86b9db6

Browse files
danbevFishrock123
authored andcommitted
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: #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>
1 parent fc42825 commit 86b9db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/udp_wrap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ void UDPWrap::DoSend(const FunctionCallbackInfo<Value>& args, int family) {
255255
args.Holder(),
256256
args.GetReturnValue().Set(UV_EBADF));
257257

258-
// send(req, list, port, address, hasCallback)
258+
// send(req, list, list.length, port, address, hasCallback)
259259
CHECK(args[0]->IsObject());
260260
CHECK(args[1]->IsArray());
261261
CHECK(args[2]->IsUint32());

0 commit comments

Comments
 (0)