diff options
author | Daniel Earl Poirier <poirier@apache.org> | 2011-03-16 18:58:42 +0100 |
---|---|---|
committer | Daniel Earl Poirier <poirier@apache.org> | 2011-03-16 18:58:42 +0100 |
commit | eb6ad4da0ac3fdfb16fa95649bb75d1fbd1afd12 (patch) | |
tree | 3010b05f0cd5092740502dceb5899e82e15ef3f9 /modules/generators | |
parent | Add a pointer to the build instructions for the manual (diff) | |
download | apache2-eb6ad4da0ac3fdfb16fa95649bb75d1fbd1afd12.tar.xz apache2-eb6ad4da0ac3fdfb16fa95649bb75d1fbd1afd12.zip |
Fix typo in RLIMIT_NPROC
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082237 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r-- | modules/generators/mod_cgid.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 7b6a17c48e..651c6a0d2d 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -168,7 +168,7 @@ typedef struct { int bufbytes; } cgid_server_conf; -#if defined (RLIMIT_CPU) || defined (RLMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) +#if defined (RLIMIT_CPU) || defined (RLIMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) typedef struct { #ifdef RLIMIT_CPU int limit_cpu_set; @@ -203,7 +203,8 @@ typedef struct { apr_size_t uri_len; apr_size_t args_len; int loglevel; /* to stuff in server_rec */ -#if defined (RLIMIT_CPU) || defined (RLMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) + +#if defined (RLIMIT_CPU) || defined (RLIMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) cgid_rlimit_t limits; #endif } cgid_req_t; @@ -459,7 +460,7 @@ static apr_status_t get_req(int fd, request_rec *r, char **argv0, char ***env, } *env = environ; -#if defined (RLIMIT_CPU) || defined (RLMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) +#if defined (RLIMIT_CPU) || defined (RLIMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) if ((stat = sock_read(fd, &(req->limits), sizeof(cgid_rlimit_t))) != APR_SUCCESS) return stat; #endif @@ -557,7 +558,7 @@ static apr_status_t send_req(int fd, request_rec *r, char *argv0, char **env, } #endif -#if defined (RLIMIT_CPU) || defined (RLMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) +#if defined (RLIMIT_CPU) || defined (RLIMIT_NPROC) || defined (RLIMIT_DATA) || defined(RLIMIT_VMEM) || defined(RLIMIT_AS) if ( (stat = sock_write(fd, &(req.limits), sizeof(cgid_rlimit_t))) != APR_SUCCESS) return stat; #endif |