Permalink
Browse files

stupid commenting mistake

  • Loading branch information...
1 parent f4b3e78 commit bb6924d202d6a26baaa36323c1643f18aa018228 @replay committed Jun 21, 2011
Showing with 2 additions and 5 deletions.
  1. +2 −2 README.md
  2. +0 −3 ngx_http_lower_upper_case.c
View
@@ -11,6 +11,6 @@ Example
set $var1 "hello";
set $var2 "WORLD";
- upper $var3 "$var1 $var2"; // $var3 will be "HELLO WORLD"
- lower $var4 "$var1 $var2"; // $var4 will be "hello world"
+ upper $var3 "$var1 $var2"; # $var3 will be "HELLO WORLD"
+ lower $var4 "$var1 $var2"; # $var4 will be "hello world"
@@ -174,7 +174,6 @@ ngx_http_do_lower_upper(ngx_http_request_t *r, ngx_http_variable_value_t *dst_v,
ngx_http_lower_upper_case_conf_t *lucf = ngx_http_get_module_loc_conf(r, ngx_http_lower_upper_case_module);
ngx_uint_t i;
u_char *tmp_void;
- //ngx_http_lucase_t *tmp_value;
ngx_http_lucase_t *lucase;
tmp_void = lucf->lucases->elts;
@@ -192,8 +191,6 @@ ngx_http_do_lower_upper(ngx_http_request_t *r, ngx_http_variable_value_t *dst_v,
return NGX_ERROR;
}
- //ngx_cpymem(dst_v->data, lucase->src_variable->data, dst_v->len);
-
if (lucase->action == LOWER) {
for (i = 0; i < dst_v->len; i++) {
dst_v->data[i] = ngx_tolower(lucase->src_variable->data[i]);

0 comments on commit bb6924d

Please sign in to comment.