From a8625e15f0139457b216287a266668754bad62b8 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 8 May 2015 19:24:17 +0900 Subject: [PATCH] clang-format --- lib/nghttp2_hd.c | 4 ++-- src/h2load.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/nghttp2_hd.c b/lib/nghttp2_hd.c index 7aac859c..f9444e09 100644 --- a/lib/nghttp2_hd.c +++ b/lib/nghttp2_hd.c @@ -1752,8 +1752,8 @@ static int hd_inflate_remove_bufs_with_name(nghttp2_hd_inflater *inflater, #ifndef NDEBUG rv = #endif - nghttp2_bufs_remove_copy(&inflater->nvbufs, - buf + ent_name->nv.namelen + 1); + nghttp2_bufs_remove_copy(&inflater->nvbufs, + buf + ent_name->nv.namelen + 1); assert(ent_name->nv.namelen + 1 + rv == buflen); nghttp2_bufs_reset(&inflater->nvbufs); diff --git a/src/h2load.h b/src/h2load.h index e731a305..15d071ba 100644 --- a/src/h2load.h +++ b/src/h2load.h @@ -94,8 +94,7 @@ struct RequestStat { bool completed; }; -template -struct TimeStat { +template struct TimeStat { // min, max, mean and sd (standard deviation) Duration min, max, mean, sd; // percentage of samples inside mean -/+ sd