From fc160bf365defeac43ca2d9b42ed429d61d0c727 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 17 Jun 2022 09:18:22 +0000 Subject: [PATCH] fixed a flaw in a test program --- hio/bin/t06.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hio/bin/t06.c b/hio/bin/t06.c index 0e52495..52bdf80 100644 --- a/hio/bin/t06.c +++ b/hio/bin/t06.c @@ -501,7 +501,7 @@ static int add_listener (hio_t* hio, hio_bch_t* addrstr) return -1; } bi.options = HIO_DEV_SCK_BIND_REUSEADDR /*| HIO_DEV_SCK_BIND_REUSEPORT |*/; - bi.options = HIO_DEV_SCK_BIND_IGNERR; + bi.options |= HIO_DEV_SCK_BIND_IGNERR; #if defined(USE_SSL) bi.options |= HIO_DEV_SCK_BIND_SSL; bi.ssl_certfile = "localhost.crt";