Mercurial > hg > nginx
comparison src/http/ngx_http_special_response.c @ 2091:9f15e5f8ff9e stable-0.6
r2007, r2025, r2042 merge:
style fixes
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 07 Jul 2008 10:18:41 +0000 |
parents | dd388c80f5a2 |
children | 3a00188e49c5 |
comparison
equal
deleted
inserted
replaced
2090:72b09c4dd8f7 | 2091:9f15e5f8ff9e |
---|---|
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 } |