diff options
author | bapt <bapt@FreeBSD.org> | 2014-07-15 15:29:43 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-07-15 15:29:43 +0000 |
commit | 7eba29e60e5ac793a82952fdc308226e9f6bd900 (patch) | |
tree | 676328a6205eaf551607295447a9843dcd6316b4 /lib/libfetch/common.c | |
parent | 1ecfe301516bc88aa5df8931ecca089635b22ec5 (diff) | |
download | FreeBSD-src-7eba29e60e5ac793a82952fdc308226e9f6bd900.zip FreeBSD-src-7eba29e60e5ac793a82952fdc308226e9f6bd900.tar.gz |
Add a comment to explain the EAGAIN is only there for POSIX compliance
Resquested by: kib
Reviewed by: des
Diffstat (limited to 'lib/libfetch/common.c')
-rw-r--r-- | lib/libfetch/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/common.c b/lib/libfetch/common.c index 38a0672..a6fc47c 100644 --- a/lib/libfetch/common.c +++ b/lib/libfetch/common.c @@ -1110,6 +1110,7 @@ fetch_writev(conn_t *conn, struct iovec *iov, int iovcnt) errno = 0; pfd.revents = 0; if (poll(&pfd, 1, deltams) < 0) { + /* POSIX compliance */ if (errno == EAGAIN) continue; if (errno == EINTR && fetchRestartCalls) |