mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
quic: fixup errant LocalVector usage
PR-URL: https://github.com/nodejs/node/pull/56564 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
732744cc76
commit
7b60bcb2f0
1 file changed
+1
-1
+1
-1
@@ -2728,7 +2728,7 @@ void Session::EmitVersionNegotiation(const ngtcp2_pkt_hd& hd,
|
||||
|
||||
LocalVector<Value> versions(env()->isolate(), nsv);
|
||||
for (size_t n = 0; n < nsv; n++) {
|
||||
versions.push_back(Integer::NewFromUnsigned(env()->isolate(), sv[n]));
|
||||
versions[n] = Integer::NewFromUnsigned(env()->isolate(), sv[n]);
|
||||
}
|
||||
|
||||
// supported are the versions we acutually support expressed as a range.
|
||||
|
||||
Reference in new issue
Block a user