tlsgate

TLS reverse proxy
git clone git://git.akobets.xyz/tlsgate
Log | Files | Refs | README | LICENSE

commit 5784e9e92e5d7755756e57a421f6acddb7538d51
parent 7f941f271ef62aa2f55417f8900b3a3486aca46e
Author: Artem Kobets <artem@akobets.xyz>
Date:   Sat, 19 Sep 2020 23:02:46 +0300

style

Diffstat:
Mmain.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c @@ -333,8 +333,10 @@ main(int argc, char **argv) proxy_udsfile != NULL && (access(proxy_udsfile, F_OK) == 0 || errno != ENOENT) ) - errx("UNIX domain socket '%s': %s", proxy_udsfile, - errno ? strerror(errno) : "File exists"); + errx( + "UNIX domain socket '%s': %s", proxy_udsfile, + errno != 0 ? strerror(errno) : "File exists" + ); // setup tls if ((ctx = tls_server()) == NULL)