httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject [Patch] mod_suexec compile failure
Date Wed, 03 Dec 2008 15:32:30 GMT
A couple of missed "ap_"'s.

Index: modules/generators/mod_suexec.c
===================================================================
--- modules/generators/mod_suexec.c     (revision 722900)
+++ modules/generators/mod_suexec.c     (working copy)
@@ -64,7 +64,7 @@
     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 @@
     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);
 

Mime
View raw message