quick fix to non-block issue

This commit is contained in:
Felix von Leitner 2003-10-19 10:38:39 +00:00
parent b136aaf930
commit 0eec9dd220
1 changed files with 0 additions and 1 deletions

View File

@ -5,7 +5,6 @@
void io_nonblock(int64 d) {
io_entry* e=array_get(&io_fds,sizeof(io_entry),d);
if (e && e->nonblock) return;
fcntl(d,F_SETFL,fcntl(d,F_GETFL,0) | O_NDELAY);
if (e) e->nonblock=1;
}