From: Eric Covener Date: Wed, 3 Dec 2008 16:29:07 +0000 (+0000) Subject: unixd_config->ap_unixd_config renames for mod_suexec X-Git-Tag: 2.3.0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da1c66ba05ff32429553813a3adb0a5921bc53ea;p=thirdparty%2Fapache%2Fhttpd.git unixd_config->ap_unixd_config renames for mod_suexec Submitted By: Dan Poirier Reviewed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@722958 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/generators/mod_suexec.c b/modules/generators/mod_suexec.c index bb4f93fa1ab..555c30e2278 100644 --- a/modules/generators/mod_suexec.c +++ b/modules/generators/mod_suexec.c @@ -64,7 +64,7 @@ static const char *set_suexec_ugid(cmd_parms *cmd, void *mconfig, if (err != NULL) { return err; } - if (unixd_config.suexec_enabled) { + if (ap_unixd_config.suexec_enabled) { cfg->ugid.uid = ap_uname2id(uid); cfg->ugid.gid = ap_gname2id(gid); cfg->ugid.userdir = 0; @@ -94,7 +94,7 @@ static int suexec_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_userdata_get(&reported, SUEXEC_POST_CONFIG_USERDATA, s->process->pool); - if ((reported == NULL) && unixd_config.suexec_enabled) { + if ((reported == NULL) && ap_unixd_config.suexec_enabled) { ap_log_error(APLOG_MARK, APLOG_NOTICE, 0, s, "suEXEC mechanism enabled (wrapper: %s)", SUEXEC_BIN);