Mercurial > hg > nginx
comparison src/http/ngx_http_special_response.c @ 2024:7018254cc006
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 22 May 2008 12:09:41 +0000 |
parents | e720be7bc195 |
children | aee889ff25ea |
comparison
equal
deleted
inserted
replaced
2023:7d58e319285e | 2024:7018254cc006 |
---|---|
617 | 617 |
618 b->pos = tail; | 618 b->pos = tail; |
619 b->last = tail + len; | 619 b->last = tail + len; |
620 | 620 |
621 out[1].buf = b; | 621 out[1].buf = b; |
622 out[1].next = NULL;; | 622 out[1].next = NULL; |
623 | 623 |
624 if (msie_padding) { | 624 if (msie_padding) { |
625 b = ngx_calloc_buf(r->pool); | 625 b = ngx_calloc_buf(r->pool); |
626 if (b == NULL) { | 626 if (b == NULL) { |
627 return NGX_ERROR; | 627 return NGX_ERROR; |
631 b->pos = ngx_http_msie_stub; | 631 b->pos = ngx_http_msie_stub; |
632 b->last = ngx_http_msie_stub + sizeof(ngx_http_msie_stub) - 1; | 632 b->last = ngx_http_msie_stub + sizeof(ngx_http_msie_stub) - 1; |
633 | 633 |
634 out[1].next = &out[2]; | 634 out[1].next = &out[2]; |
635 out[2].buf = b; | 635 out[2].buf = b; |
636 out[2].next = NULL;; | 636 out[2].next = NULL; |
637 } | 637 } |
638 | 638 |
639 if (r == r->main) { | 639 if (r == r->main) { |
640 b->last_buf = 1; | 640 b->last_buf = 1; |
641 } | 641 } |