Commit c6be0343 authored by Joe Orton's avatar Joe Orton
Browse files

* server/log.c (ap_open_piped_log): Remove errno handling.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170537 13f79535-47bb-0310-9956-ffa450edef68
parent 60673937
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -927,11 +927,9 @@ AP_DECLARE(piped_log *) ap_open_piped_log(apr_pool_t *p, const char *program)
    apr_pool_cleanup_register(p, pl, piped_log_cleanup,
                              piped_log_cleanup_for_exec);
    if (piped_log_spawn(pl) != APR_SUCCESS) {
        int save_errno = errno;
        apr_pool_cleanup_kill(p, pl, piped_log_cleanup);
        apr_file_close(ap_piped_log_read_fd(pl));
        apr_file_close(ap_piped_log_write_fd(pl));
        errno = save_errno;
        return NULL;
    }
    return pl;