Skip to content

Commit 14abeb3

Browse files
committed
quic: fix cpp formatting
1 parent 4c2d4c9 commit 14abeb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/quic/streams.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ void Stream::BeginHeaders(HeadersKind kind) {
856856
bool Stream::AddHeader(const Header& header) {
857857
size_t len = header.length();
858858
if (is_destroyed() || !session_->application().CanAddHeader(
859-
headers_.size(), headers_length_, len)) {
859+
headers_.size(), headers_length_, len)) {
860860
return false;
861861
}
862862

@@ -1037,7 +1037,8 @@ void Stream::EmitWantTrailers() {
10371037

10381038
void Stream::Schedule(Stream::Queue* queue) {
10391039
// If this stream is not already in the queue to send data, add it.
1040-
if (!is_destroyed() && outbound_ && stream_queue_.IsEmpty()) queue->PushBack(this);
1040+
if (!is_destroyed() && outbound_ && stream_queue_.IsEmpty())
1041+
queue->PushBack(this);
10411042
}
10421043

10431044
void Stream::Unschedule() {

0 commit comments

Comments
 (0)