Commit 6099bc05 authored by Stefan Fritsch's avatar Stefan Fritsch
Browse files

Simplify code with ap_str_tolower()

Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135252 13f79535-47bb-0310-9956-ffa450edef68
parent b7702a47
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -3227,13 +3227,7 @@ static apr_size_t find_argument(include_ctx_t *ctx, const char *data,
                                         ctx->r->filename);
        }
        else {
            char *sp = intern->current_arg->name;

            /* normalize the name */
            while (*sp) {
                *sp = apr_tolower(*sp);
                ++sp;
            }
            ap_str_tolower(intern->current_arg->name);
        }

        intern->state = PARSE_ARG_EQ;