select_tut.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-08-12 07:14:01 +12:00
parent a686506533
commit aa30354a3b
1 changed files with 2 additions and 1 deletions

View File

@ -670,7 +670,8 @@ main(int argc, char *argv[])
if (fd1 > 0 && buf1_avail < BUF_SIZE)
FD_SET(fd1, &readfds);
/* Note: nfds is updated below, when fd1 is added to exceptfds. */
/* Note: nfds is updated below, when fd1 is added to
exceptfds. */
if (fd2 > 0 && buf2_avail < BUF_SIZE)
FD_SET(fd2, &readfds);