Skip to content

Commit

Permalink
minor coding style tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Nov 2, 2010
1 parent b4abf2b commit c5b6141
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ngx_http_headers_more_filter_module.h
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion src/ngx_http_headers_more_output_headers.c
Expand Up @@ -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;
}
Expand Down
3 changes: 3 additions & 0 deletions src/ngx_http_headers_more_util.c
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit c5b6141

Please sign in to comment.