Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

stupid commenting mistake

  • Loading branch information...
commit bb6924d202d6a26baaa36323c1643f18aa018228 1 parent f4b3e78
Mauro Stettler authored
4  README.md
Source Rendered
@@ -11,6 +11,6 @@ Example
11 11
         set $var1 "hello";
12 12
         set $var2 "WORLD";
13 13
 
14  
-        upper $var3 "$var1 $var2"; // $var3 will be "HELLO WORLD"
15  
-        lower $var4 "$var1 $var2"; // $var4 will be "hello world"
  14
+        upper $var3 "$var1 $var2"; # $var3 will be "HELLO WORLD"
  15
+        lower $var4 "$var1 $var2"; # $var4 will be "hello world"
16 16
 
3  ngx_http_lower_upper_case.c
@@ -174,7 +174,6 @@ ngx_http_do_lower_upper(ngx_http_request_t *r, ngx_http_variable_value_t *dst_v,
174 174
     ngx_http_lower_upper_case_conf_t       *lucf = ngx_http_get_module_loc_conf(r, ngx_http_lower_upper_case_module);
175 175
     ngx_uint_t                              i;
176 176
     u_char                                 *tmp_void;
177  
-    //ngx_http_lucase_t                      *tmp_value;
178 177
     ngx_http_lucase_t                      *lucase;
179 178
 
180 179
     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,
192 191
         return NGX_ERROR;
193 192
     }
194 193
 
195  
-    //ngx_cpymem(dst_v->data, lucase->src_variable->data, dst_v->len);
196  
-
197 194
     if (lucase->action == LOWER) {
198 195
         for (i = 0; i < dst_v->len; i++) {
199 196
             dst_v->data[i] = ngx_tolower(lucase->src_variable->data[i]);

0 notes on commit bb6924d

Please sign in to comment.
Something went wrong with that request. Please try again.