Fix a wrong comment on (hopefully) right code.

MFC after:	3 days
This commit is contained in:
yar 2002-08-13 14:08:38 +00:00
parent 374c5261af
commit 2a6f0e09d3

View File

@ -1786,8 +1786,8 @@ dataconn(char *name, off_t size, char *mode)
(void) close(pdata);
pdata = s;
/*
* Unset the blocking I/O flag on the child socket
* again so stdio can work on it.
* Unset the inherited non-blocking I/O flag
* on the child socket so stdio can work on it.
*/
if ((flags = fcntl(pdata, F_GETFL, 0)) == -1 ||
fcntl(pdata, F_SETFL, flags & ~O_NONBLOCK) == -1)