diff options
Diffstat (limited to 'poll/unix/port.c')
-rw-r--r-- | poll/unix/port.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/poll/unix/port.c b/poll/unix/port.c index 51783d40b..05848d618 100644 --- a/poll/unix/port.c +++ b/poll/unix/port.c @@ -295,12 +295,7 @@ APR_DECLARE(apr_status_t) apr_pollset_poll(apr_pollset_t *pollset, if (ret == -1) { (*num) = 0; - if (errno == ETIME || errno == EINTR) { - rv = APR_TIMEUP; - } - else { - rv = APR_EGENERAL; - } + rv = apr_get_netos_error(); } else if (nget == 0) { rv = APR_TIMEUP; |