Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_headers_filter_module.c @ 1364:b7a8c9fe2337
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 01 Aug 2007 14:22:12 +0000 |
parents | b0e114fb3bdc |
children | d1dc7ef7c3ce |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_headers_filter_module.c +++ b/src/http/modules/ngx_http_headers_filter_module.c @@ -129,7 +129,7 @@ static ngx_int_t ngx_http_headers_filter(ngx_http_request_t *r) { size_t len; - ngx_str_t value; + ngx_str_t value; ngx_uint_t i; ngx_table_elt_t *expires, *cc, **ccp; ngx_http_header_val_t *h; @@ -335,10 +335,10 @@ ngx_http_set_last_modified(ngx_http_requ ngx_table_elt_t *h, **old; if (hv->offset) { - old = (ngx_table_elt_t **) ((char *) &r->headers_out + hv->offset); + old = (ngx_table_elt_t **) ((char *) &r->headers_out + hv->offset); } else { - old = NULL; + old = NULL; } if (old == NULL || *old == NULL) { @@ -393,7 +393,7 @@ ngx_http_headers_merge_conf(ngx_conf_t * if (conf->expires == NGX_HTTP_EXPIRES_UNSET) { conf->expires = (prev->expires == NGX_HTTP_EXPIRES_UNSET) ? - NGX_HTTP_EXPIRES_OFF : prev->expires; + NGX_HTTP_EXPIRES_OFF : prev->expires; } if (conf->cache_control.data == NULL) {