diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-15 15:29:43 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-07-15 15:29:43 +0000 |
commit | 3674911c297b804991e2e776b32601cb5fa5b7a8 (patch) | |
tree | 676328a6205eaf551607295447a9843dcd6316b4 /lib | |
parent | 5e351014e00cf6142389855c82ae536ec60b0439 (diff) | |
download | src-3674911c297b804991e2e776b32601cb5fa5b7a8.tar.gz src-3674911c297b804991e2e776b32601cb5fa5b7a8.zip |
Add a comment to explain the EAGAIN is only there for POSIX compliance
Resquested by: kib
Reviewed by: des
Notes
Notes:
svn path=/head/; revision=268671
Diffstat (limited to 'lib')
-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 38a0672f7db5..a6fc47c60e44 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) |