View | Details | Raw Unified | Return to bug 282137
Collapse All | Expand All

(-)support/unix/waitio.c (-1 / +4 lines)
Lines 46-52 apr_status_t apr_wait_for_io_or_timeout(apr_file_t Link Here
46
    pfd.fd     = f        ? f->filedes        : s->socketdes;
46
    pfd.fd     = f        ? f->filedes        : s->socketdes;
47
    pfd.events = for_read ? POLLIN            : POLLOUT;
47
    pfd.events = for_read ? POLLIN            : POLLOUT;
48
48
49
    if (timeout > 0) {
49
    if (timeout < 0) {
50
        timeout = -1;
51
    }
52
    else if (timeout > 0) {
50
        timeout = (timeout + 999) / 1000;
53
        timeout = (timeout + 999) / 1000;
51
    }
54
    }
52
    do {
55
    do {

Return to bug 282137