From 9e74dde2de6661f500cdcf32ccd026ae0cf98d0a Mon Sep 17 00:00:00 2001
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Thu, 31 Oct 2019 18:10:30 +0900
Subject: [PATCH] make clang-format

---
 lib/ngtcp2_conn.c          | 9 ++++++---
 tests/ngtcp2_conv_test.c   | 1 -
 tests/ngtcp2_crypto_test.c | 1 -
 tests/ngtcp2_pkt_test.c    | 1 -
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/ngtcp2_conn.c b/lib/ngtcp2_conn.c
index f36e5f0f..8a00fc0e 100644
--- a/lib/ngtcp2_conn.c
+++ b/lib/ngtcp2_conn.c
@@ -4684,7 +4684,8 @@ fin:
     return NGTCP2_ERR_CLOSING;
   case NGTCP2_CS_DRAINING:
     return NGTCP2_ERR_DRAINING;
-  default: break;
+  default:
+    break;
   }
 
   return 0;
@@ -7961,7 +7962,8 @@ ssize_t ngtcp2_conn_write_connection_close(ngtcp2_conn *conn, ngtcp2_path *path,
   case NGTCP2_CS_CLOSING:
   case NGTCP2_CS_DRAINING:
     return NGTCP2_ERR_INVALID_STATE;
-  default: break;
+  default:
+    break;
   }
 
   if (path) {
@@ -8475,7 +8477,8 @@ int ngtcp2_conn_on_loss_detection_timer(ngtcp2_conn *conn, ngtcp2_tstamp ts) {
   case NGTCP2_CS_DRAINING:
     rcs->loss_detection_timer = 0;
     return 0;
-  default: break;
+  default:
+    break;
   }
 
   if (!rcs->loss_detection_timer) {
diff --git a/tests/ngtcp2_conv_test.c b/tests/ngtcp2_conv_test.c
index c8094fcf..28ee7ff7 100644
--- a/tests/ngtcp2_conv_test.c
+++ b/tests/ngtcp2_conv_test.c
@@ -24,7 +24,6 @@
  */
 #include "ngtcp2_conv_test.h"
 
-
 #include <CUnit/CUnit.h>
 
 #include "ngtcp2_conv.h"
diff --git a/tests/ngtcp2_crypto_test.c b/tests/ngtcp2_crypto_test.c
index 4acb6ea9..46d12951 100644
--- a/tests/ngtcp2_crypto_test.c
+++ b/tests/ngtcp2_crypto_test.c
@@ -24,7 +24,6 @@
  */
 #include "ngtcp2_crypto_test.h"
 
-
 #include <CUnit/CUnit.h>
 
 #include "ngtcp2_crypto.h"
diff --git a/tests/ngtcp2_pkt_test.c b/tests/ngtcp2_pkt_test.c
index 6be4a647..8c046676 100644
--- a/tests/ngtcp2_pkt_test.c
+++ b/tests/ngtcp2_pkt_test.c
@@ -24,7 +24,6 @@
  */
 #include "ngtcp2_pkt_test.h"
 
-
 #include <CUnit/CUnit.h>
 
 #include "ngtcp2_pkt.h"
-- 
GitLab