1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Replace an incorrect #if by the correct corresponding #if defined(...)

PR 54133 reported by Teodor Milkov ()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1407965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christophe Jaillet
2012-11-11 12:53:11 +00:00
parent 9eb44f8818
commit e4a8666bfa

View File

@@ -436,7 +436,7 @@ static apr_status_t run_cgi_child(apr_file_t **script_out,
((rc = apr_procattr_limit_set(procattr, APR_LIMIT_MEM, ((rc = apr_procattr_limit_set(procattr, APR_LIMIT_MEM,
conf->limit_mem)) != APR_SUCCESS) || conf->limit_mem)) != APR_SUCCESS) ||
#endif #endif
#if RLIMIT_NPROC && defined(AP_CGI_USE_RLIMIT) #if defined(RLIMIT_NPROC) && defined(AP_CGI_USE_RLIMIT)
((rc = apr_procattr_limit_set(procattr, APR_LIMIT_NPROC, ((rc = apr_procattr_limit_set(procattr, APR_LIMIT_NPROC,
conf->limit_nproc)) != APR_SUCCESS) || conf->limit_nproc)) != APR_SUCCESS) ||
#endif #endif