mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 06:03:31 -06:00
style fix: remove trailing spaces
This commit is contained in:
parent
7ed63ee75f
commit
d3db9ea51e
@ -1354,15 +1354,15 @@ ngx_escape_html(u_char *dst, u_char *src, size_t size)
|
||||
|
||||
case '<':
|
||||
len += sizeof("<") - 2;
|
||||
break;
|
||||
break;
|
||||
|
||||
case '>':
|
||||
len += sizeof(">") - 2;
|
||||
break;
|
||||
break;
|
||||
|
||||
case '&':
|
||||
len += sizeof("&") - 2;
|
||||
break;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
@ -110,7 +110,7 @@ ngx_http_flv_handler(ngx_http_request_t *r)
|
||||
of.retest = clcf->open_file_cache_retest;
|
||||
of.errors = clcf->open_file_cache_errors;
|
||||
of.events = clcf->open_file_cache_events;
|
||||
|
||||
|
||||
rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool);
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
|
@ -637,11 +637,11 @@ sendfile(r, filename, offset = -1, bytes = 0)
|
||||
}
|
||||
|
||||
clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
|
||||
|
||||
|
||||
of.test_dir = 0;
|
||||
of.retest = clcf->open_file_cache_retest;
|
||||
of.errors = clcf->open_file_cache_errors;
|
||||
of.events = clcf->open_file_cache_events;
|
||||
of.retest = clcf->open_file_cache_retest;
|
||||
of.errors = clcf->open_file_cache_errors;
|
||||
of.events = clcf->open_file_cache_events;
|
||||
|
||||
path.len = ngx_strlen(filename);
|
||||
|
||||
@ -651,7 +651,7 @@ sendfile(r, filename, offset = -1, bytes = 0)
|
||||
}
|
||||
|
||||
(void) ngx_cpystrn(path.data, filename, path.len + 1);
|
||||
|
||||
|
||||
rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool);
|
||||
|
||||
if (rc == NGX_ERROR) {
|
||||
|
Loading…
Reference in New Issue
Block a user