style fix: remove trailing spaces

This commit is contained in:
Igor Sysoev 2007-10-09 18:42:00 +00:00
parent 7ed63ee75f
commit d3db9ea51e
3 changed files with 9 additions and 9 deletions

View File

@ -1354,15 +1354,15 @@ ngx_escape_html(u_char *dst, u_char *src, size_t size)
case '<':
len += sizeof("&lt;") - 2;
break;
break;
case '>':
len += sizeof("&gt;") - 2;
break;
break;
case '&':
len += sizeof("&amp;") - 2;
break;
break;
default:
break;

View File

@ -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) {

View File

@ -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) {