From 9c5b811d182f77b67a0bb5cd5f4a33774304e1d4 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 4 Sep 2019 11:26:52 +0000 Subject: Use stopwatches and wallclocks where appropriate --- src/conn-tools/s6-tcpclient.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/conn-tools/s6-tcpclient.c') diff --git a/src/conn-tools/s6-tcpclient.c b/src/conn-tools/s6-tcpclient.c index 5fdd7f0..3e42fd0 100644 --- a/src/conn-tools/s6-tcpclient.c +++ b/src/conn-tools/s6-tcpclient.c @@ -111,6 +111,7 @@ int main (int argc, char const *const *argv) #endif if (!uint160_scan(argv[1], &remoteport)) strerr_dief2x(100, "invalid port number: ", argv[1]) ; + tain_now_set_stopwatch() ; tain_now_g() ; if (flags.timeout) tain_addsec_g(&deadline, flags.timeout) ; else tain_add_g(&deadline, &tain_infinite_relative) ; -- cgit v1.3.1