Skip to content

Commit

Permalink
Simplify code with ap_str_tolower()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Stefan Fritsch committed Jun 13, 2011
1 parent 6572b94 commit 409e5bf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions modules/filters/mod_include.c
Expand Up @@ -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;
Expand Down

0 comments on commit 409e5bf

Please sign in to comment.