mirror of
https://github.com/fumiama/simple-kanban.git
synced 2026-06-27 14:40:27 +08:00
fix
This commit is contained in:
2
server.c
2
server.c
@@ -344,7 +344,7 @@ static int handle_accept(threadtimer_t* p) {
|
|||||||
if(!(r = check_buffer((p)))) break;
|
if(!(r = check_buffer((p)))) break;
|
||||||
}
|
}
|
||||||
printf("Recv finished, continune: %s\n", r?"true":"false");
|
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) {
|
static void handle_int(int signo) {
|
||||||
|
|||||||
Reference in New Issue
Block a user