summaryrefslogtreecommitdiff
path: root/docs/manual/developer
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2014-04-30 04:10:17 +0000
committerChristophe Jaillet <jailletc36@apache.org>2014-04-30 04:10:17 +0000
commit00e75872916f3c732be588c353852156c6d357f5 (patch)
tree76749bddbb7d247d107a3e3ba4fba81b13d31178 /docs/manual/developer
parent426ec896a46ee1420d576001a4f67d452e09fb1d (diff)
downloadhttpd-00e75872916f3c732be588c353852156c6d357f5.tar.gz
Correct typo as spoted in a comment in online doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1591189 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/developer')
-rw-r--r--docs/manual/developer/modguide.html.en2
-rw-r--r--docs/manual/developer/modguide.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/developer/modguide.html.en b/docs/manual/developer/modguide.html.en
index e7713d0746..bb50deb1b4 100644
--- a/docs/manual/developer/modguide.html.en
+++ b/docs/manual/developer/modguide.html.en
@@ -1210,7 +1210,7 @@ our first step is to make a function for creating new, blank
configurations. We do so by creating the function we just referenced in
our name tag as the Per-directory configuration handler:</p>
-<pre class="prettyprint lang-c">void* example_create_dir_conf(apr_pool_t* pool, char* context) {
+<pre class="prettyprint lang-c">void* create_dir_conf(apr_pool_t* pool, char* context) {
context = context ? context : "(undefined context)";
example_config *cfg = apr_pcalloc(pool, sizeof(example_config));
if(cfg) {
diff --git a/docs/manual/developer/modguide.xml b/docs/manual/developer/modguide.xml
index 7279e4dcec..73828905e4 100644
--- a/docs/manual/developer/modguide.xml
+++ b/docs/manual/developer/modguide.xml
@@ -1234,7 +1234,7 @@ configurations. We do so by creating the function we just referenced in
our name tag as the Per-directory configuration handler:</p>
<!-- BEGIN EXAMPLE CODE -->
<highlight language="c">
-void* example_create_dir_conf(apr_pool_t* pool, char* context) {
+void* create_dir_conf(apr_pool_t* pool, char* context) {
context = context ? context : "(undefined context)";
example_config *cfg = apr_pcalloc(pool, sizeof(example_config));
if(cfg) {