diff options
author | Joe Orton <jorton@apache.org> | 2017-03-09 09:48:24 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2017-03-09 09:48:24 +0000 |
commit | f843f6fd076ae0a2d2cb1ffc56cc3fbd18de7ad9 (patch) | |
tree | f166e8dfc4a1b014a2ba12c6692b33800cac3d0b /include | |
parent | d20f5270623d7740192300b60740ab505a190605 (diff) | |
download | httpd-f843f6fd076ae0a2d2cb1ffc56cc3fbd18de7ad9.tar.gz |
* server/config.c, include/http_config.h (ap_build_cont_config,
ap_soak_end_container): Constify directive arguments - existing
callers pass string literals.
* server/core.c (start_cond_section): Remove casts needed for above.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1786120 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/http_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/http_config.h b/include/http_config.h index 582cb243b5..758ba7a108 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -858,7 +858,7 @@ AP_DECLARE(const char *) ap_pcfg_strerror(apr_pool_t *p, ap_configfile_t *cfp, * @note If cmd->pool == cmd->temp_pool, ap_soak_end_container() will assume * .htaccess context and use a lower maximum line length. */ -AP_DECLARE(const char *) ap_soak_end_container(cmd_parms *cmd, char *directive); +AP_DECLARE(const char *) ap_soak_end_container(cmd_parms *cmd, const char *directive); /** * Read all data between the current <foo> and the matching </foo> and build @@ -878,7 +878,7 @@ AP_DECLARE(const char *) ap_build_cont_config(apr_pool_t *p, cmd_parms *parms, ap_directive_t **current, ap_directive_t **curr_parent, - char *orig_directive); + const char *orig_directive); /** * Build a config tree from a config file |