Skip to content

Commit 4ced9c5

Browse files
Add curly braces for style consistency
1 parent 6822887 commit 4ced9c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/forwarder/forwarder.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ QUIC_STATUS ListenerCallback(
207207
if (Event->Type == QUIC_LISTENER_EVENT_NEW_CONNECTION) {
208208
auto BackEndConn = new(std::nothrow) MsQuicConnection(*Registration, CleanUpAutoDelete, ConnectionCallback);
209209
if (!BackEndConn || !BackEndConn->IsValid()) {
210-
if (BackEndConn) BackEndConn->Close();
210+
if (BackEndConn) {
211+
BackEndConn->Close();
212+
}
211213
return QUIC_STATUS_OUT_OF_MEMORY;
212214
}
213215
auto FrontEndConn = new(std::nothrow) MsQuicConnection(Event->NEW_CONNECTION.Connection, CleanUpAutoDelete, ConnectionCallback, BackEndConn);

0 commit comments

Comments
 (0)