Remove IO_NOWAIT, IO_WAIT
They make the code slightly clearer in some places, and more complicated in others. Not worth it.
This commit is contained in:
parent
55c53b9add
commit
2e4f63c270
5 changed files with 21 additions and 29 deletions
|
@ -85,7 +85,7 @@ recvclient(char *cmd, int size)
|
|||
if (player->aborted)
|
||||
break;
|
||||
|
||||
res = io_input(player->iop, IO_WAIT);
|
||||
res = io_input(player->iop, 1);
|
||||
if (res > 0)
|
||||
;
|
||||
else if (res < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue