From: Ruediger Pluem Date: Tue, 2 Dec 2008 09:09:00 +0000 (+0000) Subject: * The API Cleanup in r722399 missed some locations. X-Git-Tag: 2.3.0~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1848a507753e2675d4a28f57e00fd110ba460131;p=thirdparty%2Fapache%2Fhttpd.git * The API Cleanup in r722399 missed some locations. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722408 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index e5a09bad76e..d52ca1798a8 100644 --- a/server/core.c +++ b/server/core.c @@ -2907,7 +2907,7 @@ static const char *set_limit_cpu(cmd_parms *cmd, void *conf_, { core_dir_config *conf = conf_; - unixd_set_rlimit(cmd, &conf->limit_cpu, arg, arg2, RLIMIT_CPU); + ap_unixd_set_rlimit(cmd, &conf->limit_cpu, arg, arg2, RLIMIT_CPU); return NULL; } #endif @@ -2919,11 +2919,11 @@ static const char *set_limit_mem(cmd_parms *cmd, void *conf_, core_dir_config *conf = conf_; #if defined(RLIMIT_AS) - unixd_set_rlimit(cmd, &conf->limit_mem, arg, arg2 ,RLIMIT_AS); + ap_unixd_set_rlimit(cmd, &conf->limit_mem, arg, arg2 ,RLIMIT_AS); #elif defined(RLIMIT_DATA) - unixd_set_rlimit(cmd, &conf->limit_mem, arg, arg2, RLIMIT_DATA); + ap_unixd_set_rlimit(cmd, &conf->limit_mem, arg, arg2, RLIMIT_DATA); #elif defined(RLIMIT_VMEM) - unixd_set_rlimit(cmd, &conf->limit_mem, arg, arg2, RLIMIT_VMEM); + ap_unixd_set_rlimit(cmd, &conf->limit_mem, arg, arg2, RLIMIT_VMEM); #endif return NULL; @@ -2936,7 +2936,7 @@ static const char *set_limit_nproc(cmd_parms *cmd, void *conf_, { core_dir_config *conf = conf_; - unixd_set_rlimit(cmd, &conf->limit_nproc, arg, arg2, RLIMIT_NPROC); + ap_unixd_set_rlimit(cmd, &conf->limit_nproc, arg, arg2, RLIMIT_NPROC); return NULL; } #endif