Mercurial > hg > nginx-quic
comparison src/http/modules/perl/nginx.xs @ 1560:25ee6eee7573
style fix: remove trailing spaces
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 09 Oct 2007 18:42:00 +0000 |
parents | 223e92651ca5 |
children | 4c43e25d11ea |
comparison
equal
deleted
inserted
replaced
1559:fe11e2a3946d | 1560:25ee6eee7573 |
---|---|
635 if (b->file == NULL) { | 635 if (b->file == NULL) { |
636 XSRETURN_EMPTY; | 636 XSRETURN_EMPTY; |
637 } | 637 } |
638 | 638 |
639 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 639 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
640 | 640 |
641 of.test_dir = 0; | 641 of.test_dir = 0; |
642 of.retest = clcf->open_file_cache_retest; | 642 of.retest = clcf->open_file_cache_retest; |
643 of.errors = clcf->open_file_cache_errors; | 643 of.errors = clcf->open_file_cache_errors; |
644 of.events = clcf->open_file_cache_events; | 644 of.events = clcf->open_file_cache_events; |
645 | 645 |
646 path.len = ngx_strlen(filename); | 646 path.len = ngx_strlen(filename); |
647 | 647 |
648 path.data = ngx_pcalloc(r->pool, path.len + 1); | 648 path.data = ngx_pcalloc(r->pool, path.len + 1); |
649 if (path.data == NULL) { | 649 if (path.data == NULL) { |
650 XSRETURN_EMPTY; | 650 XSRETURN_EMPTY; |
651 } | 651 } |
652 | 652 |
653 (void) ngx_cpystrn(path.data, filename, path.len + 1); | 653 (void) ngx_cpystrn(path.data, filename, path.len + 1); |
654 | 654 |
655 rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool); | 655 rc = ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool); |
656 | 656 |
657 if (rc == NGX_ERROR) { | 657 if (rc == NGX_ERROR) { |
658 | 658 |
659 if (of.err == 0) { | 659 if (of.err == 0) { |