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-tcpserver-access.c | |
parent | 9c5b811d182f77b67a0bb5cd5f4a33774304e1d4 (diff) | |
download | s6-networking-fd151339c157d8df21f44fd12a42adc2700cce2a.tar.xz |
Adapt to new stopwatch API
Diffstat (limited to 'src/conn-tools/s6-tcpserver-access.c')
-rw-r--r-- | src/conn-tools/s6-tcpserver-access.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-tools/s6-tcpserver-access.c b/src/conn-tools/s6-tcpserver-access.c index 9b58b69..b09a2b8 100644 --- a/src/conn-tools/s6-tcpserver-access.c +++ b/src/conn-tools/s6-tcpserver-access.c @@ -133,8 +133,7 @@ int main (int argc, char const *const *argv, char const *const *envp) if (socket_tcpnodelay(1) < 0) if (verbosity) strerr_warnwu1sys("socket_tcpnodelay") ; } - tain_now_set_stopwatch() ; - tain_now_g() ; + tain_now_set_stopwatch_g() ; tain_add_g(&deadline, &tto) ; if (!buffer_timed_flush_g(buffer_1small, &deadline)) strerr_diefu1sys(111, "write banner") ; |