apr_os_sock_get(); let APR check for accept returning zero on TPF.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102925
13f79535-47bb-0310-9956-
ffa450edef68
{
apr_socket_t *csd;
apr_status_t status;
- int sockdes;
*accepted = NULL;
status = apr_socket_accept(&csd, lr->sd, ptrans);
if (status == APR_SUCCESS) {
*accepted = csd;
- apr_os_sock_get(&sockdes, csd);
-#ifdef TPF
- if (sockdes == 0) { /* 0 is invalid socket for TPF */
- return APR_EINTR;
- }
-#endif
- return status;
+ return APR_SUCCESS;
}
if (APR_STATUS_IS_EINTR(status)) {