]> granicus.if.org Git - apache/commitdiff
Missed it... another canonical error fix
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 8 Oct 2000 06:05:00 +0000 (06:05 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 8 Oct 2000 06:05:00 +0000 (06:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86449 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c

index cf4ec7d2b028b295ad767e7297acc22a35524fe2..db23d9a7a1ce9aa50fbd3c55ccaf5d6d70077d83 100644 (file)
@@ -921,7 +921,7 @@ static void do_emit_plain(request_rec *r, apr_file_t *f)
             n = sizeof(char) * IOBUFSIZE;
            stat = apr_read(f, buf, &n);
        }
-       while (stat != APR_SUCCESS && stat == EINTR);
+       while (stat != APR_SUCCESS && APR_STATUS_IS_EINTR(stat));
        if (n == -1 || n == 0) {
            break;
        }