diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-10 11:28:19 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-11-10 11:28:19 +0000 |
commit | 1e10d30b41b65dbd520e01adc5fe686cb92b0f12 (patch) | |
tree | 32af8327cb6bb9aa6bbd5e20ee7a2cc1f9c95263 /src/tls/s6-tlsc-io.c | |
parent | c930181234bfb31fba0136d866e6e75633acafe0 (diff) | |
download | s6-networking-1e10d30b41b65dbd520e01adc5fe686cb92b0f12.tar.xz |
Prepare for 2.7.0.0. Better s6-tlsc-io interface.
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tls/s6-tlsc-io.c')
-rw-r--r-- | src/tls/s6-tlsc-io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tls/s6-tlsc-io.c b/src/tls/s6-tlsc-io.c index ebd1d9a..633d349 100644 --- a/src/tls/s6-tlsc-io.c +++ b/src/tls/s6-tlsc-io.c @@ -69,7 +69,7 @@ int main (int argc, char const *const *argv, char const *const *envp) { char const *servername = 0 ; tain tto ; - int fds[4] = { 0, 1, 0, 1 } ; + int fds[4] = { 0, 1, 6, 7 } ; unsigned int verbosity = 1 ; unsigned int notif = 0 ; uint32_t preoptions = 0 ; @@ -103,9 +103,9 @@ int main (int argc, char const *const *argv, char const *const *envp) { unsigned int u ; if (!uint0_scan(argv[0], &u)) dieusage() ; - fds[0] = u ; + fds[2] = u ; if (!uint0_scan(argv[1], &u)) dieusage() ; - fds[1] = u ; + fds[3] = u ; } if (!sig_ignore(SIGPIPE)) strerr_diefu1sys(111, "ignore SIGPIPE") ; |