summaryrefslogtreecommitdiffstats
path: root/modules/examples
diff options
context:
space:
mode:
authorJim Jagielski <jim@apache.org>2009-09-25 13:59:30 +0200
committerJim Jagielski <jim@apache.org>2009-09-25 13:59:30 +0200
commit83532ab6284ee5d0db23f2368d315a6c788975f0 (patch)
tree7ab48ab6ec9bc75e7895292ae74bbda5a934f8f4 /modules/examples
parentupdate transformation (diff)
downloadapache2-83532ab6284ee5d0db23f2368d315a6c788975f0.tar.xz
apache2-83532ab6284ee5d0db23f2368d315a6c788975f0.zip
Enhance ap_hook_monitor to pass along a server_rec (in
general the ap_server_conf) and tuck away some storage in there which may be useful as an opaque data pointer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@818825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/mod_example_hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c
index 30ea60fe78..f6b9979329 100644
--- a/modules/examples/mod_example_hooks.c
+++ b/modules/examples/mod_example_hooks.c
@@ -1399,7 +1399,7 @@ static int x_pre_mpm(apr_pool_t *p, ap_scoreboard_e sb_type)
*
* This is a RUN_ALL hook.
*/
-static int x_monitor(apr_pool_t *p)
+static int x_monitor(apr_pool_t *p, server_rec *s)
{
trace_nocontext(p, __FILE__, __LINE__, "x_monitor()");
return DECLINED;