From 0f1cb8e971b9e5060e73bceb82e0793c4f1330d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 1 Dec 2023 11:02:17 +0900 Subject: [PATCH] fix(server.c): SERVER_THREAD_BUFSZ --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index a972e32..aa3804d 100644 --- a/server.c +++ b/server.c @@ -45,7 +45,7 @@ static uint8_t _cfg[sizeof(simple_pb_t)+sizeof(config_t)]; #define SERVER_THREAD_BUFSZ ( \ TCPOOL_THREAD_TIMER_T_SZ \ -TCPOOL_THREAD_TIMER_T_HEAD_SZ \ - -sizeof(ssize_t)-2*sizeof(uint8_t) \ + -sizeof(ssize_t)-3*sizeof(uint8_t) \ ) #define TCPOOL_THREAD_CONTEXT \