diff options
author | deischen <deischen@FreeBSD.org> | 2003-12-09 23:40:27 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2003-12-09 23:40:27 +0000 |
commit | 1f8c5c54fd77f203bfb1e19b8afcae1b868d3008 (patch) | |
tree | 8ef65c0f46838cf3afdf3a384a36eb475709ec6b /include/histedit.h | |
parent | d8b6cc614acde625494abf1ad24f374fdcb0eb2a (diff) | |
download | FreeBSD-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/histedit.h')
0 files changed, 0 insertions, 0 deletions