diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-06-10 00:54:37 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-06-10 00:54:37 +0000 |
| commit | 992508c00caddc5576968bad88b6e6f01344e472 (patch) | |
| tree | ec45de9bded9c449151dc8698b9ec43f7e072e6c | |
| parent | 2ba50e852405bdc9216e73ddd60fed7be2a080a6 (diff) | |
| download | s6-networking-992508c00caddc5576968bad88b6e6f01344e472.tar.gz | |
proxy-server: fix both() logic
Signed-off-by: Laurent Bercot <ska@appnovation.com>
| -rw-r--r-- | src/conn-tools/proxy-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/proxy-server.c b/src/conn-tools/proxy-server.c index 7aab748..0d15cea 100644 --- a/src/conn-tools/proxy-server.c +++ b/src/conn-tools/proxy-server.c @@ -296,7 +296,7 @@ static void both (void) } if (!memcmp(buf, "PROXY ", 6)) do_v1(buf + 6) ; else if (!timed_read_g(0, buf + 15, 1, &deadline)) strerr_diefu1sys(111, "read from stdin") ; - maybe_v2(buf) ; + else maybe_v2(buf) ; } enum main_golb_e |
