@@ -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) {
The note is not visible to the blocked user.