Daniel Eischen 6ed6ccb310 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
2003-12-09 23:40:27 +00:00
..
2003-09-22 00:40:23 +00:00
2003-11-05 18:19:24 +00:00
2003-05-04 16:17:01 +00:00