@@ -34,13 +34,13 @@ typedef struct {
34
34
} ngx_http_array_map_op_data_t ;
35
35
36
36
37
- static char * ngx_http_array_split (ngx_conf_t * cf , ngx_command_t * cmd ,
37
+ static char * ngx_http_array_split (ngx_conf_t * cf , ngx_command_t * cmd ,
38
38
void * conf );
39
- static char * ngx_http_array_map (ngx_conf_t * cf , ngx_command_t * cmd ,
39
+ static char * ngx_http_array_map (ngx_conf_t * cf , ngx_command_t * cmd ,
40
40
void * conf );
41
- static char * ngx_http_array_map_op (ngx_conf_t * cf , ngx_command_t * cmd ,
41
+ static char * ngx_http_array_map_op (ngx_conf_t * cf , ngx_command_t * cmd ,
42
42
void * conf );
43
- static char * ngx_http_array_join (ngx_conf_t * cf , ngx_command_t * cmd ,
43
+ static char * ngx_http_array_join (ngx_conf_t * cf , ngx_command_t * cmd ,
44
44
void * conf );
45
45
static ngx_int_t ngx_http_array_var_split (ngx_http_request_t * r ,
46
46
ngx_str_t * res , ngx_http_variable_value_t * v , void * data );
@@ -500,6 +500,7 @@ ngx_http_array_var_split(ngx_http_request_t *r, ngx_str_t *res,
500
500
}
501
501
502
502
done :
503
+
503
504
dd ("pos %p, last %p, end %p" , pos , last , end );
504
505
505
506
s = ngx_array_push (array );
@@ -554,7 +555,7 @@ ngx_http_array_var_map(ngx_http_request_t *r, ngx_str_t *res,
554
555
555
556
array_it = ngx_http_get_indexed_variable (r , conf -> array_it_index );
556
557
557
- if ( conf -> in_place ) {
558
+ if (conf -> in_place ) {
558
559
new_array = array ;
559
560
560
561
} else {
@@ -641,7 +642,7 @@ ngx_http_array_var_map_op(ngx_http_request_t *r,
641
642
642
643
value = array -> elts ;
643
644
644
- if ( conf -> in_place ) {
645
+ if (conf -> in_place ) {
645
646
new_array = array ;
646
647
647
648
} else {
0 commit comments