summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2003-12-09 23:40:27 +0000
committerdeischen <deischen@FreeBSD.org>2003-12-09 23:40:27 +0000
commit1f8c5c54fd77f203bfb1e19b8afcae1b868d3008 (patch)
tree8ef65c0f46838cf3afdf3a384a36eb475709ec6b /include
parentd8b6cc614acde625494abf1ad24f374fdcb0eb2a (diff)
downloadFreeBSD-src-1f8c5c54fd77f203bfb1e19b8afcae1b868d3008.zip
FreeBSD-src-1f8c5c54fd77f203bfb1e19b8afcae1b868d3008.tar.gz
accept() returns a file descriptor when it succeeds which is very
likely to be non-zero. When leaving the cancellation point, check the return value against -1 to see if cancellation should be checked. While I'm here, make the same change to connect() just to be consisitent. Pointed out by: davidxu
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud