summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 5c68b84..7b833b6 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -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)
OpenPOWER on IntegriCloud