Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor coding style tweaks.

  • Loading branch information...
commit c5b6141b4bb2347650755f5857b6a5aeb28c3540 1 parent b4abf2b
@agentzh agentzh authored
View
2  src/ngx_http_headers_more_filter_module.h
@@ -13,7 +13,7 @@ typedef struct {
ngx_array_t *types; /* of ngx_str_t */
ngx_array_t *statuses; /* of ngx_uint_t */
ngx_array_t *headers; /* of ngx_http_header_val_t */
- ngx_flag_t is_input;
+ ngx_flag_t is_input;
} ngx_http_headers_more_cmd_t;
typedef struct {
View
1  src/ngx_http_headers_more_output_headers.c
@@ -241,7 +241,6 @@ ngx_http_set_header_helper(ngx_http_request_t *r, ngx_http_headers_more_header_v
ngx_strlow(h->lowcase_key, h->key.data, h->key.len);
-
if (output_header) {
*output_header = h;
}
View
3  src/ngx_http_headers_more_util.c
@@ -128,6 +128,7 @@ ngx_http_headers_more_parse_header(ngx_conf_t *cf, ngx_str_t *cmd_name,
return NGX_OK;
}
+
ngx_int_t
ngx_http_headers_more_parse_statuses(ngx_log_t *log, ngx_str_t *cmd_name,
ngx_str_t *value, ngx_array_t *statuses)
@@ -190,6 +191,7 @@ ngx_http_headers_more_parse_statuses(ngx_log_t *log, ngx_str_t *cmd_name,
return NGX_OK;
}
+
ngx_int_t
ngx_http_headers_more_parse_types(ngx_log_t *log, ngx_str_t *cmd_name,
ngx_str_t *value, ngx_array_t *types)
@@ -228,6 +230,7 @@ ngx_http_headers_more_parse_types(ngx_log_t *log, ngx_str_t *cmd_name,
return NGX_OK;
}
+
ngx_int_t
ngx_http_headers_more_rm_header(ngx_list_t *l, ngx_table_elt_t *h)
{
Please sign in to comment.
Something went wrong with that request. Please try again.