make the accepted connections non-blocking, too

This commit is contained in:
leitner 2003-09-06 02:44:21 +00:00
parent f1c7c0462b
commit c080055248

View File

@ -48,6 +48,7 @@ main() {
buffer_puts(buffer_2," (fd ");
buffer_putulong(buffer_2,n);
buffer_puts(buffer_2,")");
io_nonblock(n);
if (io_fd(n)) {
io_wantread(n);
} else {