From 84e23bff10e03fffcfac112d2e8092efadbbdfa2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 23 Nov 2015 20:05:40 +0900 Subject: [PATCH] h2load: clang-format --- src/h2load.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/h2load.cc b/src/h2load.cc index 32ea3704..13fe4cbd 100644 --- a/src/h2load.cc +++ b/src/h2load.cc @@ -742,11 +742,16 @@ int Client::connection_made() { break; } duration = config.timings[reqidx]; - if(reqidx == 0) //if reqidx wraps around back to 0, we uses up all lines and should break + if (reqidx == 0) { + // if reqidx wraps around back to 0, we uses up all lines and + // should break break; + } } - if (duration >= 1e-9) { //double check since we may have break due to reqidx wraps around back to 0 + if (duration >= 1e-9) { + // double check since we may have break due to reqidx wraps + // around back to 0 request_timeout_watcher.repeat = duration; ev_timer_again(worker->loop, &request_timeout_watcher); }