1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

More consification, correct command initialisation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85599 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ben Laurie
2000-06-17 16:29:53 +00:00
parent 7a22b1a75a
commit c0a4cb7873
17 changed files with 180 additions and 101 deletions

View File

@@ -865,7 +865,7 @@ API_EXPORT(request_rec *) ap_sub_req_lookup_file(const char *new_file,
* not even have to redo access checks.
*/
if (strchr(new_file, '/') == NULL) {
if (ap_strchr_c(new_file, '/') == NULL) {
char *udir = ap_make_dirstr_parent(rnew->pool, r->uri);
rnew->uri = ap_make_full_path(rnew->pool, udir, new_file);