From 78541e9876f99d8131ff0961e11fc65b5b3fedef Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Wed, 12 Oct 2022 22:43:05 +0800 Subject: [PATCH] usrsocktest: Fix default config mismatch in recv_block & no_block_connect Signed-off-by: zhanghongyu --- examples/usrsocktest/usrsocktest_block_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/usrsocktest/usrsocktest_block_recv.c b/examples/usrsocktest/usrsocktest_block_recv.c index a6684380d..d08a3af84 100644 --- a/examples/usrsocktest/usrsocktest_block_recv.c +++ b/examples/usrsocktest/usrsocktest_block_recv.c @@ -194,7 +194,7 @@ static void no_block_connect(FAR struct usrsocktest_daemon_conf_s *dconf) dconf->endpoint_addr = "127.0.0.1"; dconf->endpoint_port = 255; - dconf->endpoint_block_connect = true; + dconf->endpoint_block_connect = false; dconf->endpoint_block_send = true; dconf->endpoint_recv_avail_from_start = true; dconf->endpoint_recv_avail = 6;