]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Remove duplicate implementations of conditional section function. No
authorJoe Orton <jorton@apache.org>
Wed, 8 Mar 2017 10:09:15 +0000 (10:09 +0000)
committerJoe Orton <jorton@apache.org>
Wed, 8 Mar 2017 10:09:15 +0000 (10:09 +0000)
commit60301274df94a8b32d85e7380de863762fc66c6b
tree802b82c6d474ab764781fc85dc97afcbe1324a09
parent6e7dcf18edd157587777088716fa19ebea6e294d
Remove duplicate implementations of conditional section function.  No
functional change.

* server/core.c (start_cond_section): Factor out from start_if*.
  Adjust to use apr_strmemdup.
  (test_ifmod_section, test_iffile_section, test_ifdefine_section):
  Move container-specific tests into callbacks from start_if*.
  (core_cmds): Adjust <IfFile, <IfDefine, <IfModule to use
  start_cond_section with callbacks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1785943 13f79535-47bb-0310-9956-ffa450edef68
server/core.c