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