Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix use of unixd_conifg for 2.4.

Obtained from: branches/httpd24
Submitted by: torsten


git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1410427 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 9d67981f1ea6966e4e9717619f0c2f45484837d4 1 parent 7f5deab
@notroj notroj authored
View
2  src/modules/perl/modperl_apache_compat.h
@@ -93,6 +93,8 @@ AP_DECLARE(const char *) ap_get_server_version(void);
#define mp_loglevel(s) ((s)->loglevel)
#define mp_module_index_
+#define ap_unixd_config unixd_config
+
#endif
#ifndef PROXYREQ_RESPONSE
View
4 xs/Apache2/ServerUtil/Apache2__ServerUtil.h
@@ -162,8 +162,8 @@ SV *mpxs_Apache2__ServerRec_get_handlers(pTHX_ server_rec *s,
#define mpxs_Apache2__ServerUtil_server(classname) modperl_global_get_server_rec()
#if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
-#define mpxs_Apache2__ServerUtil_user_id(classname) unixd_config.user_id
-#define mpxs_Apache2__ServerUtil_group_id(classname) unixd_config.group_id
+#define mpxs_Apache2__ServerUtil_user_id(classname) ap_unixd_config.user_id
+#define mpxs_Apache2__ServerUtil_group_id(classname) ap_unixd_config.group_id
#else
#define mpxs_Apache2__ServerUtil_user_id(classname) 0
#define mpxs_Apache2__ServerUtil_group_id(classname) 0
Please sign in to comment.
Something went wrong with that request. Please try again.