diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 12:31:32 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-09-06 12:31:32 +0000 |
commit | fd151339c157d8df21f44fd12a42adc2700cce2a (patch) | |
tree | b4c86e15f826f29baa8d5ecb6488302f85ac26fe /src/conn-tools/s6-tcpclient.c | |
parent | 9c5b811d182f77b67a0bb5cd5f4a33774304e1d4 (diff) | |
download | s6-networking-fd151339c157d8df21f44fd12a42adc2700cce2a.tar.xz |
Adapt to new stopwatch API
Diffstat (limited to 'src/conn-tools/s6-tcpclient.c')
-rw-r--r-- | src/conn-tools/s6-tcpclient.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-tools/s6-tcpclient.c b/src/conn-tools/s6-tcpclient.c index 3e42fd0..e2ba32b 100644 --- a/src/conn-tools/s6-tcpclient.c +++ b/src/conn-tools/s6-tcpclient.c @@ -111,8 +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() ; + tain_now_set_stopwatch_g() ; if (flags.timeout) tain_addsec_g(&deadline, flags.timeout) ; else tain_add_g(&deadline, &tain_infinite_relative) ; if (!s6dns_init()) strerr_diefu1sys(111, "init DNS") ; |