From 14abeb31b622a71fec493448a18716b0a3af1fd7 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 29 May 2023 15:31:21 -0700 Subject: [PATCH] quic: fix cpp formatting --- src/quic/streams.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/quic/streams.cc b/src/quic/streams.cc index bd9c3fd83e92b3b..90a34ff51da96f9 100644 --- a/src/quic/streams.cc +++ b/src/quic/streams.cc @@ -856,7 +856,7 @@ void Stream::BeginHeaders(HeadersKind kind) { bool Stream::AddHeader(const Header& header) { size_t len = header.length(); if (is_destroyed() || !session_->application().CanAddHeader( - headers_.size(), headers_length_, len)) { + headers_.size(), headers_length_, len)) { return false; } @@ -1037,7 +1037,8 @@ void Stream::EmitWantTrailers() { void Stream::Schedule(Stream::Queue* queue) { // If this stream is not already in the queue to send data, add it. - if (!is_destroyed() && outbound_ && stream_queue_.IsEmpty()) queue->PushBack(this); + if (!is_destroyed() && outbound_ && stream_queue_.IsEmpty()) + queue->PushBack(this); } void Stream::Unschedule() {