summaryrefslogtreecommitdiffhomepage
path: root/src/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/http')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c2
-rw-r--r--src/http/modules/ngx_http_ssi_filter_module.c2
-rw-r--r--src/http/ngx_http_core_module.h6
-rw-r--r--src/http/ngx_http_header_filter_module.c2
-rw-r--r--src/http/ngx_http_special_response.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index c559d3165..1d8264801 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1224,7 +1224,7 @@ ngx_http_proxy_process_header(ngx_http_request_t *r)
umcf = ngx_http_get_module_main_conf(r, ngx_http_upstream_module);
- for ( ;; ) {
+ for ( ;; ) {
rc = ngx_http_parse_header_line(r, &r->upstream->buffer);
diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c
index 1d7730d56..ddd15f4f5 100644
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -1637,7 +1637,7 @@ ngx_http_ssi_evaluate_string(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
quoted = 0;
- for (i = 0 ; i < text->len; i++) {
+ for (i = 0; i < text->len; i++) {
ch = text->data[i];
if (!quoted) {
diff --git a/src/http/ngx_http_core_module.h b/src/http/ngx_http_core_module.h
index 9a9f97bdd..bdc15d628 100644
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -255,10 +255,10 @@ struct ngx_http_core_loc_conf_s {
ngx_array_t *locations;
/* pointer to the modules' loc_conf */
- void **loc_conf ;
+ void **loc_conf;
uint32_t limit_except;
- void **limit_except_loc_conf ;
+ void **limit_except_loc_conf;
ngx_http_handler_pt handler;
@@ -401,7 +401,7 @@ extern ngx_uint_t ngx_http_max_module;
\
r->allow_ranges = 0; \
if (r->headers_out.accept_ranges) { \
- r->headers_out.accept_ranges->hash = 0 ; \
+ r->headers_out.accept_ranges->hash = 0; \
r->headers_out.accept_ranges = NULL; \
}
diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c
index 2dd5b952b..b7f26f654 100644
--- a/src/http/ngx_http_header_filter_module.c
+++ b/src/http/ngx_http_header_filter_module.c
@@ -536,7 +536,7 @@ ngx_http_header_filter(ngx_http_request_t *r)
}
b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len);
- *b->last++ = ':' ; *b->last++ = ' ' ;
+ *b->last++ = ':'; *b->last++ = ' ';
b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len);
*b->last++ = CR; *b->last++ = LF;
diff --git a/src/http/ngx_http_special_response.c b/src/http/ngx_http_special_response.c
index 32b2ed599..e1d0eaf4d 100644
--- a/src/http/ngx_http_special_response.c
+++ b/src/http/ngx_http_special_response.c
@@ -619,7 +619,7 @@ ngx_http_send_special_response(ngx_http_request_t *r,
b->last = tail + len;
out[1].buf = b;
- out[1].next = NULL;;
+ out[1].next = NULL;
if (msie_padding) {
b = ngx_calloc_buf(r->pool);
@@ -633,7 +633,7 @@ ngx_http_send_special_response(ngx_http_request_t *r,
out[1].next = &out[2];
out[2].buf = b;
- out[2].next = NULL;;
+ out[2].next = NULL;
}
if (r == r->main) {