mirror of
https://github.com/facebookincubator/mvfst.git
synced 2026-10-23 17:08:55 +03:00
Fix CQS signal modernize-avoid-c-arrays in fbcode/quic/api
Reviewed By: jbeshay Differential Revision: D97927513 fbshipit-source-id: 7ea21523ea2d2db242a1ed10987d3744cb850f00
This commit is contained in:
committed by
meta-codesync[bot]
parent
afebd4d063
commit
22120f1bdf
@@ -1599,7 +1599,7 @@ void writeCloseCommon(
|
||||
// best effort writing to the socket, ignore any errors.
|
||||
|
||||
BufPtr packetBufPtr = packetBuf.clone();
|
||||
iovec vec[kNumIovecBufferChains];
|
||||
iovec vec[kNumIovecBufferChains]; // NOLINT(modernize-avoid-c-arrays)
|
||||
size_t iovec_len = fillIovec(packetBufPtr, vec);
|
||||
auto ret = sock.write(connection.peerAddress, vec, iovec_len);
|
||||
connection.lossState.totalBytesSent += packetSize;
|
||||
|
||||
Reference in New Issue
Block a user