diff options
author | Arno Töll <debian@toell.net> | 2012-01-08 22:53:17 +0100 |
---|---|---|
committer | Arno Töll <debian@toell.net> | 2012-01-08 22:53:17 +0100 |
commit | e072a2dd866b7cb9f14319b80326a4e7fd16fcdf (patch) | |
tree | a49dfc56d94a26011fe157835ff6cbe14edbd8a9 /modules/mappers/mod_speling.c | |
parent | 0890390c00801651d08d3794e13b31a5dabbf5ef (diff) | |
download | apache2-e072a2dd866b7cb9f14319b80326a4e7fd16fcdf.tar.gz |
Imported Upstream version 2.3.16-beta
Diffstat (limited to 'modules/mappers/mod_speling.c')
-rw-r--r-- | modules/mappers/mod_speling.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mappers/mod_speling.c b/modules/mappers/mod_speling.c index 78f58b07..b1c75d01 100644 --- a/modules/mappers/mod_speling.c +++ b/modules/mappers/mod_speling.c @@ -107,7 +107,7 @@ static const command_rec speling_cmds[] = (void*)APR_OFFSETOF(spconfig, enabled), OR_OPTIONS, "whether or not to fix miscapitalized/misspelled requests"), AP_INIT_FLAG("CheckCaseOnly", ap_set_flag_slot, - (void*)APR_OFFSETOF(spconfig, case_only), OR_OPTIONS, + (void*)APR_OFFSETOF(spconfig, case_only), OR_OPTIONS, "whether or not to fix only miscapitalized requests"), { NULL } }; @@ -211,7 +211,7 @@ static int check_speling(request_rec *r) } /* We've already got a file of some kind or another */ - if (r->finfo.filetype != 0) { + if (r->finfo.filetype != APR_NOFILE) { return DECLINED; } @@ -519,7 +519,7 @@ static void register_hooks(apr_pool_t *p) ap_hook_fixups(check_speling,NULL,NULL,APR_HOOK_LAST); } -module AP_MODULE_DECLARE_DATA speling_module = +AP_DECLARE_MODULE(speling) = { STANDARD20_MODULE_STUFF, create_mconfig_for_directory, /* create per-dir config */ |