From: Christophe Jaillet
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) { 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:-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) {