httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chr...@apache.org
Subject svn commit: r1356549 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
Date Tue, 03 Jul 2012 02:41:10 GMT
Author: chrisd
Date: Tue Jul  3 02:41:09 2012
New Revision: 1356549

URL: http://svn.apache.org/viewvc?rev=1356549&view=rev
Log:
Restore set_access_info()/set_access_authoritative()/get_access_info()
triplet which was split by the introduction of a configuration function
for FcgidWin32PreventOrphans in r1311569.

Modified:
    httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c?rev=1356549&r1=1356548&r2=1356549&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_conf.c Tue Jul  3 02:41:09 2012
@@ -749,6 +749,18 @@ const char *set_access_authoritative(cmd
     return NULL;
 }
 
+fcgid_cmd_conf *get_access_info(request_rec * r, int *authoritative)
+{
+    fcgid_dir_conf *config =
+        ap_get_module_config(r->per_dir_config, &fcgid_module);
+
+    if (config != NULL && config->access_info != NULL) {
+        *authoritative = config->access_authoritative;
+        return config->access_info;
+    }
+
+    return NULL;
+}
 
 #ifdef WIN32
 /* FcgidWin32PreventOrphans
@@ -814,19 +826,6 @@ const char *set_win32_prevent_process_or
 }
 #endif /* WIN32*/
 
-fcgid_cmd_conf *get_access_info(request_rec * r, int *authoritative)
-{
-    fcgid_dir_conf *config =
-        ap_get_module_config(r->per_dir_config, &fcgid_module);
-
-    if (config != NULL && config->access_info != NULL) {
-        *authoritative = config->access_authoritative;
-        return config->access_info;
-    }
-
-    return NULL;
-}
-
 const char *set_wrapper_config(cmd_parms * cmd, void *dirconfig,
                                const char *wrapper_cmdline,
                                const char *extension,



Mime
View raw message