]> granicus.if.org Git - apache/commitdiff
Correct typo as spoted in a comment in online doc
authorChristophe Jaillet <jailletc36@apache.org>
Wed, 30 Apr 2014 04:10:17 +0000 (04:10 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Wed, 30 Apr 2014 04:10:17 +0000 (04:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1591189 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/developer/modguide.html.en
docs/manual/developer/modguide.xml

index e7713d0746748e64d88fa2192db51a3179275b23..bb50deb1b4a80a87ae7a37cb6a0da70714626dac 100644 (file)
@@ -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) {
index 7279e4dcec5ab020004971111c8bb13c7b9da25b..73828905e4a6808d22a7a7d0198527fa1e1af2e8 100644 (file)
@@ -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) {