summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2014-10-03 15:49:28 +0000
committerRainer Jung <rjung@apache.org>2014-10-03 15:49:28 +0000
commita77484da9b6cbf23d6a72ecf50a768afaddba830 (patch)
tree36a3c87d0e8b180e43f5e759a5ecfbf45a2c72f8 /modules/examples
parent0049d76a33c7a524fcae53f5917608ac69062e2a (diff)
downloadhttpd-a77484da9b6cbf23d6a72ecf50a768afaddba830.tar.gz
Fix some comments and log messages: module was
renamed form mod_example to mod_example_hooks long ago. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1629235 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/mod_example_hooks.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/examples/mod_example_hooks.c b/modules/examples/mod_example_hooks.c
index 1c8ca4c1c6..1130f7eb39 100644
--- a/modules/examples/mod_example_hooks.c
+++ b/modules/examples/mod_example_hooks.c
@@ -15,7 +15,7 @@
*/
/*
- * Apache example module. Provide demonstrations of how modules do things.
+ * Apache example_hooks module. Provide demonstrations of how modules do things.
* It is not meant to be used in a production server. Since it participates
* in all of the processing phases, it could conceivable interfere with
* the proper operation of other modules -- particularly the ones related
@@ -26,7 +26,7 @@
* prefixed with 'x_' instead of 'example_'.
*
* To use mod_example_hooks, configure the Apache build with
- * --enable-example and compile. Set up a <Location> block in your
+ * --enable-example-hooks and compile. Set up a <Location> block in your
* configuration file like so:
*
* <Location /example>
@@ -328,11 +328,11 @@ static x_cfg *our_cconfig(const conn_rec *c)
static void example_log_each(apr_pool_t *p, server_rec *s, const char *note)
{
if (s != NULL) {
- ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, "mod_example: %s", note);
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, "mod_example_hooks: %s", note);
} else {
apr_file_t *out = NULL;
apr_file_open_stderr(&out, p);
- apr_file_printf(out, "mod_example traced in non-loggable "
+ apr_file_printf(out, "mod_example_hooks traced in non-loggable "
"context: %s\n", note);
}
}
@@ -703,7 +703,7 @@ static void *x_merge_server_config(apr_pool_t *p, void *server1_conf,
* declaration near the bottom of this file.) Note that these may be *
* called for situations that don't relate primarily to our function - in *
* other words, the fixup handler shouldn't assume that the request has *
- * to do with "example" stuff. *
+ * to do with "example_hooks" stuff. *
* *
* With the exception of the content handler, all of our routines will be *
* called for each request, unless an earlier handler from another module *