1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-07 17:40:25 +08:00
This commit is contained in:
源文雨
2022-10-26 16:31:36 +08:00
parent 8b9f9ca72f
commit ebe320f6ff

View File

@@ -344,7 +344,7 @@ static int handle_accept(threadtimer_t* p) {
if(!(r = check_buffer((p)))) break;
}
printf("Recv finished, continune: %s\n", r?"true":"false");
return r && (p)->numbytes > 0;
return r && (p)->numbytes >= 0;
}
static void handle_int(int signo) {